function ab(bb){return document.getElementById(bb);}
function cb(){return ab("left");}
function db(){return ab("next_image");}
function eb(){return ab("prev_image");}
function fb(){return ab("next_page");}
function gb(){return ab("prev_page");}
function hb(){return ab("slideDelayMilli");}
function ib(){return ab("slideDelaySeconds");}
function jb(){return ab("viewer");}
function kb(){return ab("sourceLink");}
function lb(){return ab("refererLink");}
function mb(){return ab("threeR_twoM");}
function nb(){return ab("slide_show_button");}
function ob(){return ab("slide_button_text");}
function pb(){return ab("SearchBox_searchSubmit");}
function qb(){return ab("SearchBox_searchField");}
function rb(){return ab("autoSlideCheckBox");}
function sb(){return ab("download_container");}
function tb(){return ab("viewer");}
function ub(){return ab("SearchBox_searchReset");}
function vb(){return ab("categories_text");}
function wb(){return ab("center_display");}
function xb(){return ab("busy");}
function yb(){return ab("not_found");}
function zb(){return ab("removeAnchor");}
function $b(){return ab("removeJunkLink");}
function _b(){return ab("removeIrrelevantLink");}
function ac(){return ab("removeAdultLink");}
function bc(){return ab("email_copy_button");}
function cc(){return ab("friendEmails");}
function dc(){return ab("destEmails");}
var ec=0;dojo.event.connect(window,"onresize",function(e){fc();ec++;if(ec%2==0&&navigator.userAgent.toLowerCase().indexOf("msie")>=0){return;}
if(controller.currentThumb!=null)controller.showImage(controller.currentThumb);controller.calculateMaxReturn();}
);dojo.event.connect(window,"onload",function(e){fc();gc();hc();ic();controller.init();controller.calculateMaxReturn();jc.init();}
);function ic(){dojo.event.connect(db(),"onclick",jc,"disableSlideShow");dojo.event.connect(eb(),"onclick",jc,"disableSlideShow");dojo.event.connect(db(),"onclick",controller,"nextImage");dojo.event.connect(eb(),"onclick",controller,"prevImage");dojo.event.connect(jb(),"onclick",jc,"toggleSlideShow");dojo.event.connect(jb(),"oncontextmenu",jc,"disableSlideShow");dojo.event.connect(gb(),"onclick",controller,"prevPage");dojo.event.connect(fb(),"onclick",controller,"nextPage");dojo.event.connect(nb(),"onclick",jc,"toggleSlideShow");dojo.event.connect(rb(),"onchange",kc,"setOptionTimer");dojo.event.connect(ub(),"onclick",controller,"resetAll");dojo.event.connect(pb(),"onclick",controller,"resetLoaded");dojo.event.connect(pb(),"onclick",function(e){vb().innerHTML="Submitting search for <strong>\""+qb().value+"\"<\/strong>";lc.showBusy();}
);if(typeof window.addEventListener!="undefined"){window.addEventListener('DOMMouseScroll',controller.viewerPanelWheelEventHandler,false);}
else{dojo.event.connect(document.body,"onmousewheel",controller,"viewerPanelWheelEventHandler");}
dojo.event.connect($b(),"onclick",controller,"removeCurrent");dojo.event.connect(_b(),"onclick",controller,"removeCurrent");dojo.event.connect(ac(),"onclick",controller,"removeCurrent");dojo.event.connect(zb(),"onclick",controller,"removeCurrent");}
function fc(){var mc=document.getElementById("header");var nc=document.getElementById("categories");var oc=document.getElementById("footer");var pc=document.getElementById("bottom_tools");var qc=document.getElementById("container");var rc=document.getElementById("right_control");var sc=document.getElementById("middle");qc.style.borderTopWidth=mc.offsetHeight+nc.offsetHeight+"px";var tc=(getWindowHeight()-(oc.offsetHeight+pc.offsetHeight+mc.offsetHeight+nc.offsetHeight));sc.style.height=tc+"px";dojo.event.connect(dojo.byId("removePanel"),"onmouseover",function(e){var uc=dojo.byId("removePanel").firstChild;var vc=uc.firstChild;uc.style.backgroundPosition="0 -34px";vc.style.backgroundPosition="100% -34px";vc.style.color="#fff";dojo.byId("removeExtension").style.backgroundPosition="100% -34px";}
);dojo.event.connect(dojo.byId("removePanel"),"onmouseout",function(e){var uc=dojo.byId("removePanel").firstChild;var vc=uc.firstChild;uc.style.backgroundPosition="0 0px";vc.style.backgroundPosition="100% 0px";vc.style.color="";dojo.byId("removeExtension").style.backgroundPosition="100% 0px";}
);}
function gc(){wc();var xc=new RegExp("\.com\/q\/(.*?)\/.*?","i");var yc=xc.exec(window.location);var zc;if(yc!=null){zc=decodeURIComponent(yc[1]);qb().value=zc;}
else{zc=qb().value;}
var $c=zc;_c($c);ad();lc.init();}
function hc(){form_widget_amount_slider('slider_target',dojo.byId("slideDelayMilli"),100,1000,6000,"slideDelayChange()");slideDelayChange();}
function CustomImage(bd,cd,dd,ed,fd,gd){this.oImage=document.createElement("img");this.source=bd;this.referer=cd;this.origin=dd;this.status="queue";this.indexed_id=gd;this.foundWidth=ed;this.foundHeight=fd;this.actualWidth=0;this.actualHeight=0;this.init();}
CustomImage.prototype.init=function(){this.oImage.oCustomImage=this;}
function copyEmail(){var hd=cc();var id=dc();for(var jd=0;jd<hd.options.length;jd++){if(hd.options[jd].selected
&&id.value.toLowerCase().indexOf(hd.options[jd].text.toLowerCase())<0){var kd=id.value.charAt(id.value.length-1);if(kd!="\n"&&kd!="")id.value+="\n";id.value+=hd.options[jd].text+"\n";}
}
}
var ld=0;var md=1000;function ScoreItem(nd,od){this.indexedId=nd;this.scoreType=od;}
var score=new function(){this.init=function(){this.setTimer();}
;this.setTimer=function(){window.clearTimeout(this.scoreTimer);this.scoreTimer=dojo.lang.setTimeout(this,"worker",this.interval);}
;this.worker=function(){if(this.scores.length>0){dojo.io.bind({url:"/app",method:"post",content:{page:"Score",service:"page",payload:this.assemblePayload()}
,load:function(pd,qd,rd){}
,mimetype:'text/plain'}
);this.scores=new Array();}
}
;this.assemblePayload=function(){var sd="";for(var i=0;i<this.scores.length;i++){sd+=this.scores[i].indexedId+"-"+this.scores[i].scoreType+",";}
return sd;}
this.addScore=function(nd,od){this.scores[this.scores.length]=new ScoreItem(nd,od);this.setTimer();}
;this.scores=new Array();this.interval=5000;this.scoreTimer=null;}
;var lc=new function(){this.showNotFound=function(){this.notFound.style.display="block";this.busy.style.display="none";this.fadeIn();}
;this.showBusy=function(){this.notFound.style.display="none";this.busy.style.display="block";this.fadeIn();}
;this.fadeIn=function(){this.centerDisplay.style.display="block";dojo.fx.html.fadeIn(this.centerDisplay,500);}
;this.fadeOut=function(){dojo.fx.html.fadeOut(this.centerDisplay,500,function(td){td.style.display="none";}
);}
;this.init=function(){this.centerDisplay=wb();this.busy=xb();this.notFound=yb();}
;this.centerDisplay=null;this.busy=null;this.notFound=null;}
;var jc=new function(){this.init=function(){if(rb().checked){jc.enableSlideShow();}
else{jc.disableSlideShow();}
this.interval=hb().value;}
;this.worker=function(){var ud=cb();if(this.enabled
&&(ud.childNodes.length>=controller.maxReturn
||controller.currentThumb!=ud.lastChild)){controller.nextImage();}
this.setTimer();}
;this.setTimer=function(){window.clearTimeout(this.slideTimer);this.slideTimer=dojo.lang.setTimeout(this,"worker",this.interval);}
;this.disableSlideShow=function(){this.enabled=false;this.setTimer();var vd=nb();var wd=ob();vd.style.backgroundPosition="0 -34px";wd.style.backgroundPosition="100% -34px";ob().innerHTML="Slide Show Is Off";}
;this.enableSlideShow=function(){this.enabled=true;this.setTimer();controller.nextImage();var vd=nb();var wd=ob();vd.style.backgroundPosition="0 0px";wd.style.backgroundPosition="100% 0px";wd.innerHTML="Slide Show Is On";}
;this.toggleSlideShow=function(){if(this.enabled){this.disableSlideShow();}
else{this.enableSlideShow();}
}
;this.enabled=true;this.slideTimer;this.interval=2000;}
;var kc=new function(){this.saveOptions=function(){dojo.io.cookie.set("autoSlide",rb().checked,30,"/");dojo.io.cookie.set("slideSpeed",hb().value,30,"/");}
;this.setOptionTimer=function(){if(this.optionTimer!=null)window.clearTimeout(this.optionTimer);this.optionTimer=dojo.lang.setTimeout(this,"saveOptions",this.interval);}
;this.optionTimer;this.interval=2000;}
;function slideDelayChange(){var xd=hb().value;jc.interval=xd;jc.setTimer();var yd=Math.round(xd/100)/10+"";if(yd.length==1){yd+=".0";}
ib().innerHTML=yd+"s";kc.setOptionTimer();}
var controller=new function(){this.init=function(){window.setInterval(dojo.lang.hitch(this,"checker"),800);}
this.prevPage=function(){if(this.start==0)return;this.start-=this.maxReturn;if(this.start<0)this.start=0;var element=cb();while(element.firstChild){element.firstChild.src="/images/blank.gif";element.removeChild(element.firstChild);}
}
this.nextPage=function(){var ud=cb();if(ud.childNodes.length<this.maxReturn)return;this.start+=this.maxReturn;while(ud.firstChild){ud.removeChild(ud.firstChild);}
}
this.checker=function(){var zd=tb();var $d=sb();var ud=cb();if(ud.childNodes.length<this.maxReturn){if(zd.childNodes.length<this.start+this.maxReturn){if($d.childNodes.length<this.threadCount){var _d=ae();if(_d!=null&&!this.isDownloadedAlready(_d)){var be=_d.oImage;$d.appendChild(be);dojo.event.connect(be,"onload",this,"onImageLoad");dojo.event.browser.addListener(be,"onerror",this.onImageError);be.src=_d.source;}
}
}
for(var i=this.start+ud.childNodes.length;i<zd.childNodes.length
&&i<(this.start+this.maxReturn);i++){this.addToThumb(zd.childNodes[i].oCustomImage);}
}
}
;this.isDownloadedAlready=function(ce){var zd=tb();for(var i=0;i<zd.childNodes.length;i++){try{if(zd.childNodes[i].oCustomImage.source==ce.source){return true;}
}
catch(e){}
}
var $d=sb();for(var i=0;i<$d.childNodes.length;i++){if($d.childNodes[i].oCustomImage.source==ce.source){return true;}
}
return false;}
;this.onImageLoad=function(rd){var de=rd.currentTarget;var zd=tb();this.removeListeners(de);if(de.width!=de.oCustomImage.foundWidth
||de.height!=de.oCustomImage.foundHeight){de.src="/images/blank.gif";de.parentNode.removeChild(de);return;}
zd.appendChild(de);de.oCustomImage.actualWidth=de.width;de.oCustomImage.actualHeight=de.height;var ee=zd.childNodes.length;if(ee<=(this.start+this.maxReturn)&&ee>this.start){this.addToThumb(de.oCustomImage);}
}
;this.removeListeners=function(de){dojo.event.disconnect(de,"onload",this,"onImageLoad");}
;this.onImageError=function(rd){var de=rd.currentTarget;controller.removeListeners(de);de.src="/images/blank.gif";de.parentNode.removeChild(de);}
;this.addToThumb=function(ce){var fe=ce.oImage.cloneNode(true);fe.oCustomImage=ce;var ge=fe.oCustomImage.actualHeight;var he=fe.oCustomImage.actualWidth;if(ge==0)ge=fe.height;if(he==0)he=fe.width
var ie=this.thumbSize;var je=this.thumbSize;var ke=he;var le=ge;if(ke>ie-(this.thumbPadding*2)){ke=ie-(this.thumbPadding*2);le=(ke/he)*le;ge=le;}
if(le>je-(this.thumbPadding*2)){le=je-(this.thumbPadding*2);ke=(le/ge)*ke;}
ke=Math.round(ke);le=Math.round(le);fe.style.width=ke+"px";fe.style.height=le+"px";var me=Math.round((ie-ke)/2);var ne=(ie-me-ke);var oe=Math.round((je-le)/2);var pe=(je-oe-le);fe.style.borderLeftWidth=me+"px";fe.style.borderRightWidth=ne+"px";fe.style.borderTopWidth=oe+"px";fe.style.borderBottomWidth=pe+"px";fe.style.borderStyle="solid";fe.style.borderColor="#fff";cb().appendChild(fe);if(cb().firstChild==fe){lc.fadeOut();}
dojo.event.connect(fe,"onclick",jc,"disableSlideShow");dojo.event.connect(fe,"onclick",this,"showImageEventHandler");if(cb().firstChild==fe){lc.fadeOut();jc.setTimer();jc.init();controller.showImage(fe);}
}
;this.showImageEventHandler=function(rd){this.showImage(rd.currentTarget);}
;this.showImage=function(qe){if(this.currentThumb!=null)this.currentThumb.style.borderColor="#fff";qe.style.borderColor="#099";var zd=tb();for(i in zd.childNodes){if(zd.childNodes[i]!=null&&zd.childNodes[i].style!=null&&zd.childNodes[i].style.top!="100%"){zd.childNodes[i].style.top="100%";}
if(zd.childNodes[i]!=null&&zd.childNodes[i].src==qe.src){var ce=zd.childNodes[i].oCustomImage;var ge=ce.actualHeight;var he=ce.actualWidth;var ie=jb().offsetWidth;var je=jb().offsetHeight-26;var ke=he;var le=ge;var re=kb();re.innerHTML=ce.source;re.href=ce.source;var se=lb();se.innerHTML=ce.referer;se.href=ce.referer;if(ke>ie-(this.viewerPanelPadding*2)){ke=ie-(this.viewerPanelPadding*2);le=(ke/he)*le;ge=le;}
if(le>je-(this.viewerPanelPadding*2)){le=je-(this.viewerPanelPadding*2);ke=(le/ge)*ke;}
zd.childNodes[i].width=ke;zd.childNodes[i].height=le;zd.childNodes[i].style.left=((ie-ke)/2)+"px";var te=((je-le)/2);zd.childNodes[i].style.top=te+"px";}
}
this.currentThumb=qe;}
;this.prevImage=function(){var ud=cb();if(this.currentThumb==ud.firstChild)return;for(var i=0;i<ud.childNodes.length;i++){if(ud.childNodes[i]==this.currentThumb){if(i==0)i=ud.childNodes.length;this.showImage(ud.childNodes[i-1]);break;}
}
}
;this.nextImage=function(){var ud=cb();if(this.currentThumb==ud.lastChild&&jc.enabled==false)return;for(var i=0;i<ud.childNodes.length;i++){if(ud.childNodes[i]==this.currentThumb){if(i+1==ud.childNodes.length)i=-1;this.showImage(ud.childNodes[i+1]);break;}
}
}
;this.calculateMaxReturn=function(){var ud=cb();var ue=ud.offsetHeight;var ve=Math.floor(ue/this.thumbSize);this.maxReturn=ve*3;for(var i=ud.childNodes.length-1;ud.childNodes.length>this.maxReturn;i--){if(ud.childNodes[i]==this.currentThumb){this.showImage(ud.childNodes[this.maxReturn-1]);}
ud.childNodes[i].src="/images/blank.gif";ud.removeChild(ud.childNodes[i]);}
}
;this.resetAll=function(){var we=qb();we.value="";we.focus();vb().innerHTML="";lc.fadeOut();this.resetLoaded();}
;this.resetLoaded=function(){this.currentThumb=null;closeMenu();kb().innerHTML="";lb().innerHTML="";xe();var $d=sb();while($d.firstChild){this.removeListeners($d.firstChild);$d.firstChild.src="/images/blank.gif";$d.removeChild($d.firstChild);}
var ud=cb();while(ud.firstChild){ud.firstChild.src="/images/blank.gif";ud.removeChild(ud.firstChild);}
var zd=tb();while(zd.firstChild){zd.firstChild.src="/images/blank.gif";zd.removeChild(zd.firstChild);}
this.start=0;}
;this.viewerPanelWheelEventHandler=function(rd){var ye=true;if(typeof rd.wheelDelta!="undefined"){if(rd.wheelDelta>0)ye=false;}
if(typeof rd.detail!="undefined"){if(rd.detail<0)ye=false;}
if(jc.enabled){var ze=hb();if(ye){ze.value=ze.value*1-100;}
else{ze.value=ze.value*1+100;}
ze.onchange();slideDelayChange();}
else{if(ye)controller.nextImage();else controller.prevImage();}
}
;this.removeCurrent=function(rd){var ud=cb();var $e=this.currentThumb;jc.setTimer();if($e.oCustomImage.indexed_id==ud.lastChild.oCustomImage.indexed_id){this.prevImage();}
else{this.nextImage();}
ud.removeChild($e);var zd=tb();for(i in zd.childNodes){if(typeof zd.childNodes[i]!='undefined'&&zd.childNodes[i].src==$e.src){zd.removeChild(zd.childNodes[i]);}
}
if(rd.currentTarget.id.indexOf("Junk")>0){score.addScore($e.oCustomImage.indexed_id,"junk");}
else if(rd.currentTarget.id.indexOf("Adult")>0){score.addScore($e.oCustomImage.indexed_id,"adult");}
else if(rd.currentTarget.id.indexOf("Irrelevant")>0){score.addScore($e.oCustomImage.indexed_id,"irrelevant");}
}
;this.maxReturn=18;this.threadCount=4;this.start=0;this.thumbSize=64;this.thumbPadding=4;this.viewerPanelPadding=6;this.currentThumb=null;}
;var _e=new Array(2);var af=0;var bf=0;function cf(){wc();_c("kitchen");ad();}
function df(){var ef=ae();if(ef==null){alert("null value");}
else{alert(ef.source);}
}
function ad(){for(var i=0;i<_e.length;i++){if(!_e[i].isDownloading)_e[i].getData();}
}
function wc(){_e[0]=new SearchEngine("Google");_e[1]=new SearchEngine("Atw");}
function xe(){for(var i=0;i<_e.length;i++){if(_e[i].req!=null)_e[i].req.abort();}
wc();}
function _c($c){for(var i=0;i<_e.length;i++){_e[i].searchTerm=$c;_e[i].pageNum=0;_e[i].resultsList=new Array;}
}
function masterEngineGetSearchTerm(){return _e[0].searchTerm;}
function ff(){for(var i=0;i<_e.length;i++){if(_e[i].isMoreResults){return true;}
}
return false;}
function ae(){var jd=af++%_e.length;if(_e[jd].engineName=="Amazon"&&(++bf%4)!=0){jd=af++%_e.length;}
return _e[jd].shiftCustomImage();}
function SearchEngine(gf){this.engineName=gf;this.resultsList=new Array;this.searchTerm="";this.pageNum=0;this.isDownloading=false;this.isMoreResults=true;this.req=null;}
SearchEngine.prototype.getData=function(){if(this.searchTerm=="")return;this.isDownloading=true;if(window.XMLHttpRequest){this.req=new XMLHttpRequest();}
else if(window.ActiveXObject){this.req=new ActiveXObject("Microsoft.XMLHTTP");}
this.req.onreadystatechange=eval("SearchEngine.prototype.callback_"+this.engineName);var url="/app?service=page&page=Response&engine="+this.engineName+"&searchTerm="+encodeURIComponent(this.searchTerm)+"&pageNum="+this.pageNum+"&random="+encodeURIComponent(new Date().getTime());this.req.open("GET",url,true);this.req.send(null);}
SearchEngine.prototype.callback_Google=function(){_e[0].processRequest();}
SearchEngine.prototype.callback_Atw=function(){_e[1].processRequest();}
SearchEngine.prototype.processRequest=function(){if(this.req.readyState==4){if(this.req.status==200){this.parseResponse();}
else{this.isMoreResults=false;this.isDownloading=false;}
if(sb().childNodes.length==0
&&tb().childNodes.length==0
&&!ff()){lc.showNotFound();}
}
}
SearchEngine.prototype.parseResponse=function(){var hf=this.req.responseXML.getElementsByTagName("image");for(var i=0;i<hf.length;i++){try{var jf=new CustomImage(hf[i].attributes.getNamedItem("source").value,hf[i].attributes.getNamedItem("referer").value,hf[i].attributes.getNamedItem("origin").value,hf[i].attributes.getNamedItem("width").value,hf[i].attributes.getNamedItem("height").value,hf[i].attributes.getNamedItem("indexed_id").value
);this.resultsList.push(jf);}
catch(e){}
}
this.isDownloading=false;if(hf.length==0){this.isMoreResults=false;}
}
SearchEngine.prototype.shiftCustomImage=function(){var ce=null;if(this.resultsList.length>0)ce=this.resultsList.shift();if(this.resultsList.length<4&&!this.isDownloading&&this.isMoreResults){this.pageNum++;this.getData();}
return ce;}
wc();/**
 * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){_16.push(key+"="+_18[key]);}
return _16;},getSWFHTML:function(){var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";
}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){
var _23=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return _23;};
deconcept.PlayerVersion=function(_27){
this.major=_27[0]!=null?parseInt(_27[0]):0;
this.minor=_27[1]!=null?parseInt(_27[1]):0;
this.rev=_27[2]!=null?parseInt(_27[2]):0;
};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){
return false;
}return true;};
deconcept.util={getRequestParameter:function(_29){
var q=document.location.search||document.location.hash;
if(q){var _2b=q.substring(1).split("&");
for(var i=0;i<_2b.length;i++){
if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){
return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
return "";}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");
for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){
if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};
deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};
__flash_savedUnloadHandler=function(){};
if(typeof window.onunload=="function"){
var _30=window.onunload;
window.onunload=function(){
deconcept.SWFObjectUtil.cleanupSWFs();_30();};
}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};
if(typeof window.onbeforeunload=="function"){
var oldBeforeUnload=window.onbeforeunload;
window.onbeforeunload=function(){
deconcept.SWFObjectUtil.prepUnload();
oldBeforeUnload();};
}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
if(Array.prototype.push==null){
Array.prototype.push=function(_31){
this[this.length]=_31;
return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;
