// ***********  This zone is Idle. Research poll is Enabled. Current Timestamp 2007-11-21 03:50:12.197 *************																										


var maxVersion = 11;																										
 var actualVersion = 0;																										
 var hasFlash = false;																										
 for (var i = 2;i <= maxVersion;i++){																						
 eval('flash' +i+ 'Installed = false');																					
 }																															
 var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;														
 var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true : false;													
 if(isIE && isWin){																											
 document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');																
 document.write('on error resume next \n');																				
 for (var i = 2;i <= maxVersion;i++){																					
 document.write('flash' +i+ 'Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.' +i+ '"))) \n');	
 }																														
 document.write('</SCR' + 'IPT\> \n');																					
 } //end if																													

function detectFlash(){																										
 if (navigator.plugins){																									
 if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]){								
 var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";										
 var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;							
 var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));						
 for (var i = 2;i <= maxVersion;i++){																		
 if (flashVersion == i) actualVersion = i;																
 }																											
 }																													
 }																														
 for (var i = 2; i <= maxVersion; i++) {																					
 if (eval("flash" + i + "Installed") == true) actualVersion = i;														
 }																														
 if(navigator.userAgent.indexOf("WebTV") != -1) actualVersion = 3;														
 if ( (navigator.userAgent.indexOf("Mac") != -1) && (navigator.userAgent.indexOf("AOL 5") != -1) )  actualVersion = 3;	
 return actualVersion;																									
 } //end function																											

function vizuHandleErr(){return true}																						

																									

function vizuGatewayData(js, pid, ad, vizu, links, mainBG, questionText, answerZoneBG, voteBG, cpid, clid, zid, w, h, plimit, demo, ecid, echeight, cpidEC, clidEC, bgBorder, bgDrop, bgGrad, bgCorner, btnCorner, btnGrad) {	
 this.js=js;																												
 this.pid=pid;																											
 this.ad=ad;																												
 this.vizu=vizu;																											
 this.links=links;																										
 this.mainBG=mainBG;																										
 this.questionText=questionText;																							
 this.answerZoneBG=answerZoneBG;																							
 this.voteBG=voteBG;																										
 this.cpid=cpid;																											
 this.clid=clid;																											
 this.zid=zid;																											
 this.w=w;																												
 this.h=h;																												
 this.plimit=plimit;																										
 this.demo=demo;																											
 this.ecid=ecid;																											
 this.echeight=echeight;																									
 this.cpidEC=cpidEC;																										
 this.clidEC=clidEC;																										
 this.bgBorder=bgBorder;																									
 this.bgDrop=bgDrop;																										
 this.bgGrad=bgGrad;																										
 this.bgCorner=bgCorner;																									
 this.btnCorner=btnCorner;																								
 this.btnGrad=btnGrad;																									
 if (typeof vizuECPoll == "function"){this.vizuECPoll=vizuECPoll;} 														
 this.vizuGatewayView=vizuGatewayView; 																					
 } //end function																											

var globalCount = 0;																										
 function vizuGatewayView() {																								
 globalCount++;																											
 with (this){																											
 var vizuZid = zid;																									
 tempDiv = document.getElementById('vizu-container-'+vizuZid);														
 var vizuGWay = ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1" height="1" id="gateway" align="middle">');	
 vizuGWay += ('<param name="allowScriptAccess" value="always" />');													
 vizuGWay += ('<param name="movie" value="'+vizuLocation+'/swf/polls/powerpolls/general/gateway.swf" />');		
 vizuGWay += ('<param name="quality" value="high" />');																
 vizuGWay += ('<param name="scale" value="noscale" />');																
 vizuGWay += ('<param name="wmode" value="transparent" />');															
 vizuGWay += ('<param name="bgcolor" value="#ffffff" />');															
 vizuGWay += ('<param NAME=FlashVars VALUE="js='+js+'&pid='+pid+'&ad='+ad+'&vizu='+vizu+'&links='+links+'&mainBG='+mainBG+'&questionText='+questionText+'&answerZoneBG='+answerZoneBG+'&voteBG='+voteBG+'&cpid='+cpid+'&clid='+clid+'&zid='+zid+'&w='+w+'&h='+h+'&plimit='+plimit+'&demo='+demo+'&pidEC='+ecid+'&hEC='+echeight+'&cpidEC='+cpidEC+'&clidEC='+clidEC+'&bgBorder='+bgBorder+'&bgDrop='+bgDrop+'&bgGrad='+bgGrad+'&bgCorner='+bgCorner+'&btnCorner='+btnCorner+'&btnGrad='+btnGrad+'" />');		
 vizuGWay += ('<embed src="'+vizuLocation+'/swf/polls/powerpolls/general/gateway.swf" quality="high" scale="noscale" wmode="transparent" bgcolor="#ffffff" width="1" height="1" name="gateway" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" FlashVars="js='+js+'&pid='+pid+'&ad='+ad+'&vizu='+vizu+'&links='+links+'&mainBG='+mainBG+'&questionText='+questionText+'&answerZoneBG='+answerZoneBG+'&voteBG='+voteBG+'&cpid='+cpid+'&clid='+clid+'&zid='+zid+'&w='+w+'&h='+h+'&plimit='+plimit+'&demo='+demo+'&pidEC='+ecid+'&hEC='+echeight+'&cpidEC='+cpidEC+'&clidEC='+clidEC+'&bgBorder='+bgBorder+'&bgDrop='+bgDrop+'&bgGrad='+bgGrad+'&bgCorner='+bgCorner+'&btnCorner='+btnCorner+'&btnGrad='+btnGrad+'" />');	
 vizuGWay += ('</object>');																							
 vizuGWay += ('<div id="vizu-zone-'+vizuZid+'" style="padding:0px;margin:0px;"></div>');								
 vizuGWay += ('<div id="vizu-frame-'+vizuZid+'" style="display:none;"></div>');										
 tempDiv.innerHTML = vizuGWay;																						
 onerror=vizuHandleErr; 	 																							
 }																														
 } //end function																											

			function writeVizuPoll(xjs, xpid, xad, xvizu, xlinks, xmainBG, xquestionText, xanswerZoneBG, xvoteBG, xcpid, xclid, xzid, xheight, xwidth, xptype, xbgBorder, xbgDrop, xbgGrad, xbgCorner, xbtnCorner, xbtnGrad) {	
 if(window.CLICKURL=='undefined'){var CLICKURL = "";}																	
 var contentsVizu;																										
 contentsVizu = '<img src="'+vizuLocation+'/zones/img/spacer.bmp?cpid='+xcpid+'&clid='+xclid+'&zid='+xzid+'&n='+xpid+'&t='+new Date().getTime()+'" alt="" width="1" height="1" border="0" style="visibility: hidden;">';	
 contentsVizu += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+xwidth+'" height="'+xheight+'" id="vizu_poll" align="middle">';	
 contentsVizu += '<param name="allowScriptAccess" value="always" />';													
 contentsVizu += '<param name="movie" value="'+vizuLocation+vizuFile+'" />';												
 contentsVizu += '<param name="quality" value="high" />';																
 contentsVizu += '<param name="scale" value="noscale" />';																
 contentsVizu += '<param name="wmode" value="transparent" />';															
 contentsVizu += '<param name="bgcolor" value="#ffffff" />';																
 contentsVizu += '<param NAME=FlashVars VALUE="js='+xjs+'&pid='+xpid+'&ad='+xad+'&vizu='+xvizu+'&links='+xlinks+'&mainBG='+xmainBG+'&questionText='+xquestionText+'&answerZoneBG='+xanswerZoneBG+'&voteBG='+xvoteBG+'&cpid='+xcpid+'&clid='+xclid+'&zid='+xzid+'&w='+xwidth+'&h='+xheight+'&ptype='+xptype+'&CLICKURL='+CLICKURL+'&bgBorder='+xbgBorder+'&bgDrop='+xbgDrop+'&bgGrad='+xbgGrad+'&bgCorner='+xbgCorner+'&btnCorner='+xbtnCorner+'&btnGrad='+xbtnGrad+'" />';	
 contentsVizu += '<embed src="'+vizuLocation+vizuFile+'" quality="high" scale="noscale" wmode="transparent" bgcolor="#ffffff" width="'+xwidth+'" height="'+xheight+'" name="vizu_poll" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" FlashVars="js='+xjs+'&pid='+xpid+'&ad='+xad+'&vizu='+xvizu+'&links='+xlinks+'&mainBG='+xmainBG+'&questionText='+xquestionText+'&answerZoneBG='+xanswerZoneBG+'&voteBG='+xvoteBG+'&cpid='+xcpid+'&clid='+xclid+'&zid='+xzid+'&w='+xwidth+'&h='+xheight+'&ptype='+xptype+'&CLICKURL='+CLICKURL+'&bgBorder='+xbgBorder+'&bgDrop='+xbgDrop+'&bgGrad='+xbgGrad+'&bgCorner='+xbgCorner+'&btnCorner='+xbtnCorner+'&btnGrad='+xbtnGrad+'" />';	
 contentsVizu += '</object>';																							
 document.getElementById('vizu-zone-'+xzid).innerHTML=contentsVizu; 														
 } //end function																											

				function writeVizuBlank(xzid){																								
 var contentsVizu;																										
 contentsVizu = '<img src="'+vizuLocation+'/zones/img/spacer.bmp?zid='+xzid+'&t='+new Date().getTime()+'" alt="" width="1" height="1" border="0" style="visibility: hidden;">';	
 document.getElementById('vizu-zone-'+xzid).innerHTML=contentsVizu;														
 } //end function																											

	var count1385 = 0;																											
 function vizuTestLoad1385(){ 																								
 if (typeof vizuECPoll == "function"){																					
 			myTime1385=null;																										
 			vizuController1385();																								
 		} else { 																											
 			if(count1385 <= 16){																								
 					myTime1385 = setTimeout('vizuTestLoad1385()',500);																
 					count1385++;																										
 			} else {																										
 					//alert("Time is up. Move forward without EC");																	
 					vizuController1385();																							
 			}																													
 		}																														
 } //end function																											

	function getRandom1385(vizuPollZoneId, vizuECArray){																		
 document.write('<div id="vizu-container-'+vizuPollZoneId+'"></div>');												
 var vizuCatgArray = vizuECArray; 																						
 if(vizuCatgArray != ""){																								
 var vizuCatgNum = vizuCatgArray[Math.floor(Math.random()*vizuCatgArray.length)];									
 var scriptElem = document.createElement('script');																
 if(vizuCatgNum!=10){																								
 scriptElem.setAttribute('src', vizuLocation+'/poll/ec/EC_0' + vizuCatgNum + '.js');						
 }else{																											
 scriptElem.setAttribute('src', vizuLocation+'/poll/ec/EC_' + vizuCatgNum + '.js');						
 }																													
 scriptElem.setAttribute('type','text/javascript');																
 document.getElementsByTagName('head')[0].appendChild(scriptElem);													
 vizuTestLoad1385(); 																									
 }else{																												
 vizuController1385();																								
 }																														
 } //end function																											

function vizuController1385(){																								
 poll_1385 = new vizuGatewayData('true','0','false','true','false','4EB6DC','000000','075D8F','252582','0','0','1385','150','529','5','true', '', '', '', '', '080809','1','1','1','1','1');	
 if (typeof vizuECPoll == "function"){poll_1385.vizuECPoll();} 														
 poll_1385.vizuGatewayView();																								
 } //end function																											

if (detectFlash() >= 8) {																									
 document.write('<form style="height:0px;line-height:0px;padding:0px;margin:0px;border:0px;"></form>'); 													
 var vizuLocation = "http://wp.vizu.com/"; 																				
 var vizuFile = "swf/polls/powerpolls/general/powerPoll.swf"; 																									
 getRandom1385('1385', ['10','3','5','7','2','9','4','8','6']); 																							
 } //end if																												

