function openNoScrollWindow(url,title,width,height) {
	// read resolution and set variables
	var      x = screen.width;
	var      y = screen.height;
	var    top = parseInt((y-height)/2);
	var   left = parseInt((x-width)/2);
	// open new window and use the variables to position it
	window.open(url,title,'width='+width+',height='+height+',left='+left+',top='+top+',scrollbars=no,resize=yes,resizable=yes,menubar=no,toolbar=no,directories=no');
}

function openWindow(url,title,width,height) {
	// read resolution and set variables
	var      x = screen.width;
	var      y = screen.height;
	var    top = parseInt((y-height)/2);
	var   left = parseInt((x-width)/2);
	// open new window and use the variables to position it
	window.open(url,title,'width='+width+',height='+height+',left='+left+',top='+top+',scrollbars=yes,resize=yes,resizable=yes,menubar=yes,toolbar=no,directories=no');
}

function openNoScrollWindow(url,title) {
				newwindow=window.open(url,'name',' resizable=yes, height=530, width=700, left=250, top=80, scrollbars=yes');
				if (window.focus) {newwindow.focus()}
			}

function popupPassword() {
    $('.ForgotPassword').find('.errRed').css("display", "none");
    //$('.ForgotPassword').find('#txtEmailAddress').css("display", "none");
    $('#ctl00_login_txtemailid').val("");
    //document.getElementByID("ctl00_login_txtemailid").text = "";
    $('.ForgotPassword').css("display","block");
}
/*
	window.name = "main";
	window.open("https://beta.mcafee.com/betamcafee/Forgotpassword.aspx","popupPassword","width=480,height=420,scrollbars=no,resize=no,resizable=no,menubar=no,toolbar=no,directories=no");
}
*/
	function showhide(obj){
		objp= obj.parentNode;
		if (obj.className=="selectpls") {
			obj.className="selectmns";
			objp.childNodes[1].style.display = "block";
		}
		else {
			obj.className="selectpls";
			objp.childNodes[1].style.display = "none";
		}
	}
	$(document).ready(function() {
	    var showchild = $('.faqpm').find('h4');
	    $(showchild).each(function (i) {
	        if($(this).attr('show') == 'true'){
	            $(this).attr('class','selectmns');
	            var nextDiv = $(this).nextAll('div');
	            $(nextDiv).css('display','block');
	        }
	    });
	});
/*Remember me Section        
$(document).ready(function() {
		
		$(".LoginTxtBox").click(function(){
			$(this).parents().find('.remember').css({display: "block"});  
			$(this).parents().find('.loginpop li').css({height: "60px"});
        
		});
		
		$(".loginpop").mouseout(function(){
			$(this).parents().find('.remember').hide();
			$(this).parents().find('.loginpop li').css({height: "40px"});
        
		});
		
      });
  */
  
