/* MEMCACHE SUCCESS */ //Holder for callback functions var callback_down = 0; function show_video() { //Clear the callback for moving down. if( callback_down > 0 ) { clearTimeout(callback_down); } vsim_init() //show close buttons var cl = document.getElementById("close_link"); cl.style.visibility = 'visible'; } function hide_video() { vsim_end(); //hide close button var cl = document.getElementById("close_link"); cl.style.visibility = 'hidden'; } function vsim_init() { vsim_movediv("vsim", -5, "up"); setTimeout( 'vsim_end();', 20000 ); } function vsim_end() { vsim_movediv("vsim", -298 , "down"); } function vsim_close() { var find = document.getElementById('vsim'); if (find) { find.style.display = "none"; } } function vsim_movediv(obj,pixel,dir) { var supported = (document.getElementById); if (!supported) { return; }; var target = document.getElementById(obj); if (!target) return; var currPos = parseInt(target.style.bottom); if( dir == "up" ) { if (currPos < pixel) { var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); if(re.exec(ua)) { currPos += 15; } else { currPos += 5; } if (currPos > pixel) currPos=pixel; target.style.bottom = currPos + 'px'; setTimeout("vsim_movediv('" + obj + "'," + pixel + ",'" + dir + "')",15); } } else if( dir == "down" ) { if (currPos > pixel) { var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); if(re.exec(ua)) { currPos -= 15; } else { currPos -= 5; } if (currPos < pixel) currPos=pixel; target.style.bottom = currPos + 'px'; callback_down = setTimeout("vsim_movediv('" + obj + "'," + pixel + ",'" + dir + "')",15); } } } window.onload = function() { setTimeout(vsim_init,1000); }; function close_ads_div() { var vsim = document.getElementById( 'vsim' ); vsim.parentNode.removeChild( vsim ); } if(typeof vs == "undefined") var vs = new Object(); vs.swfobject=function(){var Z="undefined",P="object",B="Shockwave Flash",h="ShockwaveFlash.ShockwaveFlash",W="application/x-shockwave-flash",K="SWFObjectExprInst",G=window,g=document,N=navigator,f=[],H=[],Q=null,L=null,T=null,S=false,C=false;var a=function(){var l=typeof g.getElementById!=Z&&typeof g.getElementsByTagName!=Z&&typeof g.createElement!=Z&&typeof g.appendChild!=Z&&typeof g.replaceChild!=Z&&typeof g.removeChild!=Z&&typeof g.cloneNode!=Z,t=[0,0,0],n=null;if(typeof N.plugins!=Z&&typeof N.plugins[B]==P){n=N.plugins[B].description;if(n){n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1");t[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10);t[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10);t[2]=/r/.test(n)?parseInt(n.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof G.ActiveXObject!=Z){var o=null,s=false;try{o=new ActiveXObject(h+".7")}catch(k){try{o=new ActiveXObject(h+".6");t=[6,0,21];o.AllowScriptAccess="always"}catch(k){if(t[0]==6){s=true}}if(!s){try{o=new ActiveXObject(h)}catch(k){}}}if(!s&&o){try{n=o.GetVariable("$version");if(n){n=n.split(" ")[1].split(",");t=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]}}catch(k){}}}}var v=N.userAgent.toLowerCase(),j=N.platform.toLowerCase(),r=/webkit/.test(v)?parseFloat(v.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,i=false,q=j?/win/.test(j):/win/.test(v),m=j?/mac/.test(j):/mac/.test(v);/*@cc_on i=true;@if(@_win32)q=true;@elif(@_mac)m=true;@end@*/return{w3cdom:l,pv:t,webkit:r,ie:i,win:q,mac:m}}();var e=function(){if(!a.w3cdom){return }J(I);if(a.ie&&a.win){try{g.write("