<!--

function inputMainMenu(swfName,ver,FLwidth,FLheight,variablesPassed) {
	reqMajorVer = ver;
	reqRevision = 0;
	curFlashVersion = DetectFlashVer(reqMajorVer,0,reqRevision); //ignore middle 0
	//document.write("current flash= " + curFlashVersion);
		if (curFlashVersion != true) {
			if (curFlashVersion == false) {
				var alternateContent = ''
				
				+ '<div class="noscript">Flash is required for this website.</div>'
//				+ '<img src="../images/spacer.gif" alt="CWD Windows and Doors" width="830" height="73" align="top"><br>'
//				+ '<P>Thank you for visiting CWD Windows and Doors<br>'
//				+ '&nbsp;<br><font color="#c51230">>> <b>For the complete CWD website</b> you will need <i><a href="http://www.macromedia.com/go/getflash/">the Flash player</a> Version ' + ver + ' or newer (Flash currently not found)</i>.</font><br>'
//				+ '<img src="../images/gre.gif" alt="window bar" width="100%" height="4" vspace="6"></P>'
//				+ '<P align="justify">Windows are not just a means of enjoying the world around you. They should also be a means of enjoyment themselves. What makes a dramatic impact on the appearance of your home? Think about vast expanses of flawless glass and the natural warmth of Pacific Coast hem-fir. Or solid aluminum brickmolds with the Colonial charm of grilles in glass and simulated divided lites. Bold or subtle, simple or complex. Your windows are a reflection of you.</P>'
//				+ '<P align="justify">CWD Windows and Doors has evolved significantly over its 45 year history. Despite our evolution, one thing has remained unchanged – our commitment to excellence in everything we do and our ensuring we provide products and services that will meet or exceed our customers’ expectations.</P>'
//				+ '<P align="justify">For more information please get the <a href="http://www.macromedia.com/go/getflash/">Adobe Flash player</a> to Version ' + ver + ' or newer and return to our site.</P>'
//				+ '</font></TD></TR></TABLE>';
						
			} else {
			
				var alternateContent = ''
				
				+ '<div class="noscript">Flash is required for this website.</div>'
//				+ '<img src="../images/spacer.gif" alt="CWD Windows and Doors" width="830" height="73" align="top"><br>'
//				+ '<P>Thank you for visiting CWD Windows and Doors<br>'
//				+ '&nbsp;<br><font color="#c51230">>> <b>For the complete CWD website</b> you will need to <i><a href="http://www.macromedia.com/go/getflash/">upgrade your Flash player</a> to Version ' + ver + ' or newer</i>.</font><br>'
//				+ '<img src="../images/gre.gif" alt="window bar" width="100%" height="4" vspace="6"></P>'
//				+ '<P align="justify">Windows are not just a means of enjoying the world around you. They should also be a means of enjoyment themselves. What makes a dramatic impact on the appearance of your home? Think about vast expanses of flawless glass and the natural warmth of Pacific Coast hem-fir. Or solid aluminum brickmolds with the Colonial charm of grilles in glass and simulated divided lites. Bold or subtle, simple or complex. Your windows are a reflection of you.</P>'
//				+ '<P align="justify">CWD Windows and Doors has evolved significantly over its 45 year history. Despite our evolution, one thing has remained unchanged – our commitment to excellence in everything we do and our ensuring we provide products and services that will meet or exceed our customers’ expectations.</P>'
//				+ '<P align="justify">Today, CWD manufactures the highest quality PVC, Wood, Aluminum clad wood windows along with a wide selection of patio, garden, terrace and entrance door systems in the industry. Operating from a state of the art, 300,000 square foot manufacturing facility in Calgary, Canada - with distribution centers across Western Canada - our products are readily available to the discerning homebuilders, contractors, dealers and distributors.</P>'
//				+ '<P align="justify">Over the last decade our growth has included International markets in the US, Asia, Europe and more recently China. From the Olympic Village in Salt Lake City, Utah to over 5000 homes in Japan, our commitment to excellence shines through.</P>'
//				+ '<P align="justify">What\'s in a name? People. Community. Integrity. Standards. Certification. Innovation. Selection. Employing up to 500 people, we continually work towards improving on our World Class Standards.  At CWD, we are proud of our past and totally confident in our future.</P>'
//				+ '<P align="justify">For more information please upgrade your <a href="http://www.macromedia.com/go/getflash/">Adobe Flash player</a> to Version ' + ver + ' or newer and return to our site.</P>'
//				+ '</font></TD></TR></TABLE>';
			}
			document.write(alternateContent);  // insert non-flash contentnon-flash content
			
		}  else {  // flash is too old or we can't detect the plugin
			 var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
			+ 'width="' + FLwidth + '" height="' + FLheight + '"'
			+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
			+ '<param name="movie" value="' + swfName + '" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><param name="wmode" value="transparent">'
			+ '<PARAM NAME=FlashVars VALUE="'+variablesPassed+'">' 
			+ '<embed src="' + swfName + '" quality="high" bgcolor="#ffffff" wmode="transparent"'
			+ 'width="' + FLwidth + '" height="' + FLheight + '" name="movie1" align="middle"'
			+ 'play="true"'
			+ 'loop="false"'
			+ 'quality="high"'
			+ 'FlashVars="' + variablesPassed +'"'
			+ 'allowScriptAccess="sameDomain"'
			+ 'type="application/x-shockwave-flash"'
			+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
			+ '<\/embed>'
			+ '<\/object>';
			document.write(oeTags);   // embed the flash movie
		}
};


// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;
// the version of javascript supported
var jsVersion = 1.0;
// -----------------------------------------------------------------------------
// -->


var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
jsVersion = 1.1;
// JavaScript helper required to detect Flash Player PlugIn version information
function JSGetSwfVer(i){
	// NS/Opera version >= 3 check for Flash plugin in plugin array
	if (navigator.plugins != null && navigator.plugins.length > 0) {
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
			var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
      		var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
			descArray = flashDescription.split(" ");
			tempArrayMajor = descArray[2].split(".");
			versionMajor = tempArrayMajor[0];
			versionMinor = tempArrayMajor[1];
			if ( descArray[3] != "" ) {
				tempArrayMinor = descArray[3].split("r");
			} else {
				tempArrayMinor = descArray[4].split("r");
			}
      		versionRevision = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0;
            flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
      	} else {
			flashVer = -1;
		}
	}
	// MSN/WebTV 2.6 supports Flash 4
	//else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
	// WebTV 2.5 supports Flash 3
	//else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
	// older WebTV supports Flash 2
	//else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
	// Can't detect in all other cases
	else {
		
		flashVer = -1;
	}
	return flashVer;
} 

// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) 
{
 	reqVer = parseFloat(reqMajorVer + "." + reqRevision);
   	// loop backwards through the versions until we find the newest version	
	for (i=25;i>0;i--) {	
		if (isIE && isWin && !isOpera) {
			versionStr = VBGetSwfVer(i);
		} else {
			versionStr = JSGetSwfVer(i);
		}
		if (versionStr == -1 ) { 
			return false;
		} else if (versionStr != 0) {
			if(isIE && isWin && !isOpera) {
				tempArray         = versionStr.split(" ");
				tempString        = tempArray[1];
				versionArray      = tempString .split(",");				
			} else {
				versionArray      = versionStr.split(".");
			}
			versionMajor      = versionArray[0];
			versionMinor      = versionArray[1];
			versionRevision   = versionArray[2];
			
			versionString     = versionMajor + "." + versionRevision;   // 7.0r24 == 7.24
			versionNum        = parseFloat(versionString);
        	// is the major.revision >= requested major.revision AND the minor version >= requested minor
			if ( (versionMajor > reqMajorVer) && (versionNum >= reqVer) ) {
				return true;
			} else {
				return ((versionNum >= reqVer && versionMinor >= reqMinorVer) ? true : versionNum );	
			}
		}
	}	
}


//this runs on everypage

if (document.images) {

mm1_off = new Image();
mm1_off.src = "../images/menu_yel/main_science.gif";
mm1_on = new Image();
mm1_on.src = "../images/menu_whi/main_science.gif";

mm2_off = new Image();
mm2_off.src = "../images/menu_whi/main_products.gif";
mm2_on = new Image();
mm2_on.src = "../images/menu_yel/main_products.gif";

mm3_off = new Image();
mm3_off.src = "../images/menu_whi/main_pros.gif";
mm3_on = new Image();
mm3_on.src = "../images/menu_yel/main_pros.gif";

mm4_off = new Image();
mm4_off.src = "../images/menu_whi/main_buy.gif";
mm4_on = new Image();
mm4_on.src = "../images/menu_yel/main_buy.gif";

homeTri1_off = new Image();
homeTri1_off.src = "images/home_left.gif";
homeTri1_on = new Image();
homeTri1_on.src = "images/home_left_hl.gif";

homeTri2_off = new Image();
homeTri2_off.src = "images/home_left.gif";
homeTri2_on = new Image();
homeTri2_on.src = "images/home_left_hl.gif";

homeTri3_off = new Image();
homeTri3_off.src = "images/home_right.gif";
homeTri3_on = new Image();
homeTri3_on.src = "images/home_right_hl.gif";

homeTri4_off = new Image();
homeTri4_off.src = "images/home_right.gif";
homeTri4_on = new Image();
homeTri4_on.src = "images/home_right_hl.gif";

};

//end run on everypage

function turnOn(imageName) { if (document.images) { document[imageName].src = eval(imageName + "on.src"); }};
function turnOff(imageName) { if (document.images) { document[imageName].src = eval(imageName + "off.src"); }};

function hideSection(obj) {
	//alert(obj);
	var el = document.getElementById(obj);
	el.style.display = 'none';
}

function showSection(obj) {
	//alert(obj);
	var el = document.getElementById(obj);
	el.style.display = '';
}

function toggleAnswer(obj,totalQuestions) {
	//alert(myBox.checked);
	var el = document.getElementById(obj);
	if ( el.style.display == '' ) {
		el.style.display = 'none';
	}
	else {
		el.style.display = '';
		turnAnswersOff(totalQuestions,obj);
	}
}

function turnAnswersOff(totalQuestions,theexception) {
	//theexception = 5;
	theexception = parseInt(theexception);
	for (x=1;x<=totalQuestions;x++) {
        	if (x != theexception) {
			var el = document.getElementById(x+'');	
	   		el.style.display = 'none';
		}
    } 
}

function newWindow(path){

smallWindow = window.open
(path,'info','status=no,resizable=yes,scrollbars=no,screenX=25,left=25,screenY=50,top=50,width=400,height=270');
smallWindow.focus();
}




//Core MyCSSMenu Code
var qm_si,qm_li,qm_lo,qm_tt,qm_th,qm_ts,qm_la,qm_ic,qm_ib;var qp="parentNode";var qc="className";var qm_t=navigator.userAgent;var qm_o=qm_t.indexOf("Opera")+1;var qm_s=qm_t.indexOf("afari")+1;var qm_s2=qm_s&&qm_t.indexOf("ersion/2")+1;var qm_s3=qm_s&&qm_t.indexOf("ersion/3")+1;var qm_n=qm_t.indexOf("Netscape")+1;var qm_v=parseFloat(navigator.vendorSub);;function qm_create(sd,v,ts,th,oc,rl,sh,fl,ft,aux,l){var w="onmouseover";var ww=w;var e="onclick";if(oc){if(oc=="all"||(oc=="lev2"&&l>=2)){w=e;ts=0;}if(oc=="all"||oc=="main"){ww=e;th=0;}}if(!l){l=1;qm_th=th;sd=document.getElementById("qm"+sd);if(window.qm_pure)sd=qm_pure(sd);sd[w]=function(e){qm_kille(e)};document[ww]=qm_bo;if(oc=="main"){qm_ib=true;sd[e]=function(event){qm_ic=true;qm_oo(new Object(),qm_la,1);qm_kille(event)};document.onmouseover=function(){qm_la=null;clearTimeout(qm_tt);qm_tt=null;};}sd.style.zoom=1;if(sh)x2("qmsh",sd,1);if(!v)sd.ch=1;}else  if(sh)sd.ch=1;if(oc)sd.oc=oc;if(sh)sd.sh=1;if(fl)sd.fl=1;if(ft)sd.ft=1;if(rl)sd.rl=1;sd.style.zIndex=l+""+1;var lsp;var sp=sd.childNodes;for(var i=0;i<sp.length;i++){var b=sp[i];if(b.tagName=="A"){lsp=b;b[w]=qm_oo;if(w==e)b.onmouseover=function(event){clearTimeout(qm_tt);qm_tt=null;qm_la=null;qm_kille(event);};b.qmts=ts;if(l==1&&v){b.style.styleFloat="none";b.style.cssFloat="none";}}else  if(b.tagName=="DIV"){if(window.showHelp&&!window.XMLHttpRequest)sp[i].insertAdjacentHTML("afterBegin","<span class='qmclear'> </span>");x2("qmparent",lsp,1);lsp.cdiv=b;b.idiv=lsp;if(qm_n&&qm_v<8&&!b.style.width)b.style.width=b.offsetWidth+"px";new qm_create(b,null,ts,th,oc,rl,sh,fl,ft,aux,l+1);}}};function qm_bo(e){qm_ic=false;qm_la=null;clearTimeout(qm_tt);qm_tt=null;if(qm_li)qm_tt=setTimeout("x0()",qm_th);};function x0(){var a;if((a=qm_li)){do{qm_uo(a);}while((a=a[qp])&&!qm_a(a))}qm_li=null;};function qm_a(a){if(a[qc].indexOf("qmmc")+1)return 1;};function qm_uo(a,go){if(!go&&a.qmtree)return;if(window.qmad&&qmad.bhide)eval(qmad.bhide);a.style.visibility="";x2("qmactive",a.idiv);};;function qa(a,b){return String.fromCharCode(a.charCodeAt(0)-(b-(parseInt(b/2)*2)));};function qm_oo(e,o,nt){if(!o)o=this;if(qm_la==o&&!nt)return;if(window.qmv_a&&!nt)qmv_a(o);if(window.qmwait){qm_kille(e);return;}clearTimeout(qm_tt);qm_tt=null;qm_la=o;if(!nt&&o.qmts){qm_si=o;qm_tt=setTimeout("qm_oo(new Object(),qm_si,1)",o.qmts);return;}var a=o;if(a[qp].isrun){qm_kille(e);return;}if(qm_ib&&!qm_ic)return;var go=true;while((a=a[qp])&&!qm_a(a)){if(a==qm_li)go=false;}if(qm_li&&go){a=o;if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li))qm_uo(qm_li);a=qm_li;while((a=a[qp])&&!qm_a(a)){if(a!=o[qp]&&a!=o.cdiv)qm_uo(a);else break;}}var b=o;var c=o.cdiv;if(b.cdiv){var aw=b.offsetWidth;var ah=b.offsetHeight;var ax=b.offsetLeft;var ay=b.offsetTop;if(c[qp].ch){aw=0;if(c.fl)ax=0;}else {if(c.ft)ay=0;if(c.rl){ax=ax-c.offsetWidth;aw=0;}ah=0;}if(qm_o){ax-=b[qp].clientLeft;ay-=b[qp].clientTop;}if(qm_s2&&!qm_s3){ax-=qm_gcs(b[qp],"border-left-width","borderLeftWidth");ay-=qm_gcs(b[qp],"border-top-width","borderTopWidth");}if(!c.ismove){c.style.left=(ax+aw)+"px";c.style.top=(ay+ah)+"px";}x2("qmactive",o,1);if(window.qmad&&qmad.bvis)eval(qmad.bvis);c.style.visibility="inherit";qm_li=c;}else  if(!qm_a(b[qp]))qm_li=b[qp];else qm_li=null;qm_kille(e);};function qm_gcs(obj,sname,jname){var v;if(document.defaultView&&document.defaultView.getComputedStyle)v=document.defaultView.getComputedStyle(obj,null).getPropertyValue(sname);else  if(obj.currentStyle)v=obj.currentStyle[jname];if(v&&!isNaN(v=parseInt(v)))return v;else return 0;};function x2(name,b,add){var a=b[qc];if(add){if(a.indexOf(name)==-1)b[qc]+=(a?' ':'')+name;}else {b[qc]=a.replace(" "+name,"");b[qc]=b[qc].replace(name,"");}};function qm_kille(e){if(!e)e=event;e.cancelBubble=true;if(e.stopPropagation&&!(qm_s&&e.type=="click"))e.stopPropagation();};function qm_pure(sd){if(sd.tagName=="UL"){var nd=document.createElement("DIV");nd.qmpure=1;var c;if(c=sd.style.cssText)nd.style.cssText=c;qm_convert(sd,nd);var csp=document.createElement("SPAN");csp.className="qmclear";csp.innerHTML=" ";nd.appendChild(csp);sd=sd[qp].replaceChild(nd,sd);sd=nd;}return sd;};function qm_convert(a,bm,l){if(!l)bm[qc]=a[qc];bm.id=a.id;var ch=a.childNodes;for(var i=0;i<ch.length;i++){if(ch[i].tagName=="LI"){var sh=ch[i].childNodes;for(var j=0;j<sh.length;j++){if(sh[j]&&(sh[j].tagName=="A"||sh[j].tagName=="SPAN"))bm.appendChild(ch[i].removeChild(sh[j]));if(sh[j]&&sh[j].tagName=="UL"){var na=document.createElement("DIV");var c;if(c=sh[j].style.cssText)na.style.cssText=c;if(c=sh[j].className)na.className=c;na=bm.appendChild(na);new qm_convert(sh[j],na,1)}}}}}

//Add-On Core Code (Remove when not using any add-on's)
document.write('<style type="text/css">.qmfv{visibility:visible !important;}.qmfh{visibility:hidden !important;}</style><script type="text/JavaScript">var qmad = new Object();qmad.bvis="";qmad.bhide="";</script>');


	/*******  Menu 0 Add-On Settings *******/
	var a = qmad.qm0 = new Object();

	// Rounded Corners Add On
	a.rcorner_size = 1;
	a.rcorner_border_color = "#424242";
	a.rcorner_bg_color = "#424242";
	a.rcorner_apply_corners = new Array(false,false,false,false);
	a.rcorner_top_line_auto_inset = true;


//Add-On Code: Rounded Corners
qmad.rcorner=new Object();qmad.br_ie7=navigator.userAgent.indexOf("MSIE 7")+1;if(qmad.bvis.indexOf("qm_rcorner(b.cdiv);")==-1)qmad.bvis+="qm_rcorner(b.cdiv);";;function qm_rcorner(a,hide,force){var z;if(!hide&&((z=window.qmv)&&(z=z.addons)&&(z=z.round_corners)&&!z["on"+qm_index(a)]))return;var q=qmad.rcorner;if((!hide&&!a.hasrcorner)||force){var ss;if(!a.settingsid){var v=a;while((v=v.parentNode)){if(v.className.indexOf("qmmc")+1){a.settingsid=v.id;break;}}}ss=qmad[a.settingsid];if(!ss)return;if(!ss.rcorner_size)return;q.size=ss.rcorner_size;q.background=ss.rcorner_bg_color;if(!q.background)q.background="transparent";q.border=ss.rcorner_border_color;if(!q.border)q.border="#ff0000";q.angle=ss.rcorner_angle_corners;q.corners=ss.rcorner_apply_corners;if(!q.corners||q.corners.length<4)q.corners=new Array(true,1,1,1);q.tinset=0;if(ss.rcorner_top_line_auto_inset&&qm_a(a[qp]))q.tinset=a.idiv.offsetWidth;q.opacity=ss.rcorner_opacity;if(q.opacity&&q.opacity!=1){var addf="";if(window.showHelp)addf="filter:alpha(opacity="+(q.opacity*100)+");";q.opacity="opacity:"+q.opacity+";"+addf;}else q.opacity="";var f=document.createElement("SPAN");x2("qmrcorner",f,1);var fs=f.style;fs.position="absolute";fs.display="block";fs.top="0px";fs.left="0px";var size=q.size;q.mid=parseInt(size/2);q.ps=new Array(size+1);var t2=0;q.osize=q.size;if(!q.angle){for(var i=0;i<=size;i++){if(i==q.mid)t2=0;q.ps[i]=t2;t2+=Math.abs(q.mid-i)+1;}q.osize=1;}var fi="";for(var i=0;i<size;i++)fi+=qm_rcorner_get_span(size,i,1,q.tinset);fi+='<span qmrcmid=1 style="background-color:'+q.background+';border-color:'+q.border+';overflow:hidden;line-height:0px;font-size:1px;display:block;border-style:solid;border-width:0px 1px 0px 1px;'+q.opacity+'"></span>';for(var i=size-1;i>=0;i--)fi+=qm_rcorner_get_span(size,i);f.innerHTML=fi;f.noselect=1;a.insertBefore(f,a.firstChild);a.hasrcorner=f;}var b=a.hasrcorner;if(b){if(!a.offsetWidth)a.style.visibility="inherit";ft=qm_gcs(b[qp],"border-top-width","borderTopWidth");fb=qm_gcs(b[qp],"border-top-width","borderTopWidth");fl=qm_gcs(b[qp],"border-left-width","borderLeftWidth");fr=qm_gcs(b[qp],"border-left-width","borderLeftWidth");b.style.width=(a.offsetWidth-fl)+"px";b.style.height=(a.offsetHeight-fr)+"px";if(qmad.br_ie7){var sp=b.getElementsByTagName("SPAN");for(var i=0;i<sp.length;i++)sp[i].style.visibility="inherit";}b.style.visibility="inherit";var s=b.childNodes;for(var i=0;i<s.length;i++){if(s[i].getAttribute("qmrcmid"))s[i].style.height=Math.abs((a.offsetHeight-(q.osize*2)-ft-fb))+"px";}}};function qm_rcorner_get_span(size,i,top,tinset){var q=qmad.rcorner;var mlmr;if(i==0){var mo=q.ps[size]+q.mid;if(q.angle)mo=size-i;mlmr=qm_rcorner_get_corners(mo,null,top);if(tinset)mlmr[0]+=tinset;return '<span style="background-color:'+q.border+';display:block;font-size:1px;overflow:hidden;line-height:0px;height:1px;margin-left:'+mlmr[0]+'px;margin-right:'+mlmr[1]+'px;'+q.opacity+'"></span>';}else {var md=size-(i);var ih=1;var bs=1;if(!q.angle){if(i>=q.mid)ih=Math.abs(q.mid-i)+1;else {bs=Math.abs(q.mid-i)+1;md=q.ps[size-i]+q.mid;}if(top)q.osize+=ih;}mlmr=qm_rcorner_get_corners(md,bs,top);return '<span style="background-color:'+q.background+';border-color:'+q.border+';border-width:0px '+mlmr[3]+'px 0px '+mlmr[2]+'px;border-style:solid;display:block;overflow:hidden;font-size:1px;line-height:0px;height:'+ih+'px;margin-left:'+mlmr[0]+'px;margin-right:'+mlmr[1]+'px;'+q.opacity+'"></span>';}};function qm_rcorner_get_corners(mval,bval,top){var q=qmad.rcorner;var ml=mval;var mr=mval;var bl=bval;var br=bval;if(top){if(!q.corners[0]){ml=0;bl=1;}if(!q.corners[1]){mr=0;br=1;}}else {if(!q.corners[2]){mr=0;br=1;}if(!q.corners[3]){ml=0;bl=1;}}return new Array(ml,mr,bl,br);}







// all pages code





//-->
