function PopUp(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
	var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}
function popitup_brochure(url) 
	{	
	video_window=window.open(url,'name1','height=700,width=950,  titlebar=no, menubar=no, toolbar=no, location=no, directories=no, status=no, scrollbars=no, resizable=no, dependent=yes, left=20, top=20');	
	if (window.focus) {video_window.focus()}
	return false;
	}
	
function popitup_gallery(url) 
	{	
	video_window=window.open(url,'name1','height=725,width=800,  titlebar=no, menubar=no, toolbar=no, location=no, directories=no, status=no, scrollbars=no, resizable=no, dependent=no, left=20, top=20');	
	if (window.focus) {video_window.focus()}
	return false;
	}
function popitup_gallery_2_row(url) 
	{	
	video_window=window.open(url,'name1','height=775,width=800,  titlebar=no, menubar=no, toolbar=no, location=no, directories=no, status=no, scrollbars=yes, resizable=no, dependent=no, left=20, top=20');	
	if (window.focus) {video_window.focus()}
	return false;
	}
function popitup_gallery_3_row(url) 
	{	
	video_window=window.open(url,'name1','height=800,width=820,  titlebar=no, menubar=no, toolbar=no, location=no, directories=no, status=no, scrollbars=yes, resizable=no, dependent=no, left=3, top=3');	
	if (window.focus) {video_window.focus()}
	return false;
	}