
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;
var EnableFullAuto=true;var SWFFormFixDebug=false;var NotLoadedWarning=true;var NotLoadedMsg="Please wait for the page to load...";finished=false;timeout=10;starttime=new Date().getTime();flashObjectList=Array();fixedList=Array();makeFuncArr=Array();SWFFormFixAuto2=function(){if(navigator.appName.toLowerCase()!="microsoft internet explorer")return true;var flashObjectList=document.getElementsByTagName("object");for(var i=0;i<flashObjectList.length;i++){var obj=flashObjectList[i];if(obj.getAttribute('classid')=="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"){var id=obj.getAttribute('id');var alreadyfixed=false;for(var c=0;c<fixedList.length;c++){if(fixedList[i]==id)alreadyfixed=true;}
if(!alreadyfixed){var debugtxt='';for(var b in window[id]){if(typeof(window[id][b])=="function"){makeFuncArr.push(Array(obj,b));obj[b]=function(){if(NotLoadedWarning)alert(NotLoadedMsg);return("");}}}
window[id]=obj;if(SWFFormFixDebug)alert("Fixed: "+id);}}}
if(!finished){setTimeout("SWFFormFixAuto2()",100);}else{for(var i=0;i<makeFuncArr.length;i++){SWFFormFix_rebuildExtFunc(makeFuncArr[i][0],makeFuncArr[i][1]);}}
return true;}
SWFFormFix_rebuildExtFunc=function(obj,functionName){eval('obj[functionName] = function(){return eval(this.CallFunction("<invoke name=\\"'+functionName+'\\" returntype=\\"javascript\\">" + __flash__argumentsToXML(arguments,0) + "</invoke>"));}');if(SWFFormFixDebug)alert("Rebuilt ExternalInterface() function: "+functionName);}
SWFFormFixOnloadAppend=function(){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=function(){finished=true;}}else{window.onload=function(){oldonload();finished=true;}}}
SWFFormFixAuto=function(){if(navigator.appName.toLowerCase()!="microsoft internet explorer")return true;var objects=document.getElementsByTagName("object");if(objects.length==0)return true;for(i=0;i<objects.length;i++){if(objects[i].classid=="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"){window[objects[i].id]=objects[i];}}
var out="";return true;}
SWFFormFix=function(swfname){if(navigator.appName.toLowerCase()!="microsoft internet explorer")return false;var testnodename="SWFFormFixTESTER";document.write('<div id="'+testnodename+'" onclick="SWFFormFixCallback(this,\''+swfname+'\');return false;" style="display:none">&nbsp;</div>');document.getElementById(testnodename).onclick();}
SWFFormFixCallback=function(obj,swfname){var path=document;var error=false;var testnode=obj;while(obj=obj.parentNode){if(obj.nodeName.toLowerCase()=="form"){if(obj.name!=undefined&&obj.name!=null&&obj.name.length>0){path=path.forms[obj.name];}else{alert("Error: one of your forms does not have a name!");error=true;}}}
testnode.parentNode.removeChild(testnode);if(error)return false;window[swfname]=path[swfname];return true;}
function noCacheIE(url){var isIE=navigator.appName.indexOf("Microsoft")!=-1;if(!isIE)return(url);var newUrl='?';if(url.indexOf('?')!=-1)newUrl='&';var now=new Date();var rand=Math.random().toString().substring(2,4);newUrl=url+newUrl+"noCacheIE="+rand+'-'+now.getTime().toString();return(newUrl);}
if(EnableFullAuto){SWFFormFixAuto2();SWFFormFixOnloadAppend();}
function MM_swapImgRestore(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc;}
function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++)
if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}
function MM_findObj(n,d){var p,i,x;if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}
if(!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=MM_findObj(n,d.layers[i].document);if(!x&&d.getElementById)x=d.getElementById(n);return x;}
function MM_swapImage(){var i,j=0,x,a=MM_swapImage.arguments;document.MM_sr=new Array;for(i=0;i<(a.length-2);i+=3)
if((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc)x.oSrc=x.src;x.src=a[i+2];}}
function blankEmail(){if(document.signup.email.value=="Enter your email address here"){document.signup.email.value="";}}
function PageChanger(page){document.location=page;}
function blankSearch(searchLoc){if(searchLoc=="H")
{if(document.searchForm.searchStr.value=="Type keyword(s) here"){document.searchForm.searchStr.value="";}}
else if(searchLoc=="F")
{if(document.searchFormF.searchStr.value=="Type keyword(s) here"){document.searchFormF.searchStr.value="";}}}
function blankEmail(){if(document.signup.email.value=="Enter your email address here"){document.signup.email.value="";}}
function decision(message,url){if(confirm(message))location.href=url;}
function openPopUp(url,windowName,w,h,scrollbar){var winl=(screen.width-w)/2;var wint=(screen.height-h)/2;winprops='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scrollbar;win=window.open(url,windowName,winprops);if(parseInt(navigator.appVersion)>=4){win.window.focus();}}
function jumpMenu(target,object,restore){eval(target+".location='"+object.options[object.selectedIndex].value+"'");if(restore)object.selectedIndex=0;}
function gotosite(site){if(site!="")
{parent.location=site}}
function findObj(n,d){var p,i,x;if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}
if(!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=findObj(n,d.layers[i].document);if(!x&&d.getElementById)x=d.getElementById(n);return x;}
function getImage(imageName)
{findObj('img').src=imageName;}
function submitDoc(formName){var obj;if(obj=findObj(formName)!=null)
{findObj(formName).submit();}
else
{alert('The form you are attempting to submit called \''+formName+'\' couldn\'t be found. Please make sure the submitDoc function has the correct id and name.');}}
function getBig(pd,w,h)
{WebAddress=pd;sb="yes";h=h-130;Stuff="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width="+w+",height="+h+",innerHeight="+h+",innerWidth="+w
PicWindow=window.open(WebAddress,"",Stuff)
PicWindow.focus()}
function countdown_clock(year,month,day,hour,minute,format,until_text)
{html_code='<div id="countdown"></div>';document.write(html_code);countdown(year,month,day,hour,minute,format,until_text);}
function countdown_clock_small(year,month,day,hour,minute,format,until_text)
{html_code='<div id="countdown_small"></div>';document.write(html_code);countdown_small(year,month,day,hour,minute,format,until_text);}
function countdown(year,month,day,hour,minute,format,until_text)
{Today=new Date();Todays_Year=Today.getFullYear()-2000;Todays_Month=Today.getMonth()+1;Todays_Date=(new Date(Todays_Year,Todays_Month,Today.getDate(),Today.getHours(),Today.getMinutes(),Today.getSeconds())).getTime();Target_Date=(new Date(year,month,day,hour,minute,00)).getTime();Time_Left=Math.round((Target_Date-Todays_Date)/1000);if(Time_Left<0)
Time_Left=0;switch(format)
{case 0:document.all.countdown.innerHTML=Time_Left+' seconds '+until_text;break;case 1:days=Math.floor(Time_Left/(60*60*24));Time_Left%=(60*60*24);hours=Math.floor(Time_Left/(60*60));Time_Left%=(60*60);minutes=Math.floor(Time_Left/60);Time_Left%=60;seconds=Time_Left;dps='s';hps='s';mps='s';sps='s';if(days==1)dps='';if(hours==1)hps='';if(minutes==1)mps='';if(seconds==1)sps='';if(days>0)
{document.all.countdown.innerHTML=days+' day'+dps+' ';}
else
{document.all.countdown.innerHTML='';}
if(hours>0)
{document.all.countdown.innerHTML+=hours+' hour'+hps+' ';}
else
{document.all.countdown.innerHTML='';}
document.all.countdown.innerHTML+=minutes+' minute'+mps+' and ';document.all.countdown.innerHTML+=seconds+' second'+sps+' '+until_text;break;default:document.all.countdown.innerHTML=Time_Left+' seconds '+until_text;}
setTimeout('countdown('+year+','+month+','+day+','+hour+','+minute+','+format+',"'+until_text+'");',1000);}
function countdown_with_coupon(year,month,day,hour,minute,format,until_text)
{Today=new Date();Todays_Year=Today.getFullYear()-2000;Todays_Month=Today.getMonth()+1;Todays_Date=(new Date(Todays_Year,Todays_Month,Today.getDate(),Today.getHours(),Today.getMinutes(),Today.getSeconds())).getTime();Target_Date=(new Date(year,month,day,hour,minute,00)).getTime();Time_Left=Math.round((Target_Date-Todays_Date)/1000);if(Time_Left<0)
Time_Left=0;switch(format)
{case 0:document.all.countdown_coupon.innerHTML=Time_Left+' seconds '+until_text;break;case 1:days=Math.floor(Time_Left/(60*60*24));Time_Left%=(60*60*24);hours=Math.floor(Time_Left/(60*60));Time_Left%=(60*60);minutes=Math.floor(Time_Left/60);Time_Left%=60;seconds=Time_Left;dps='s';hps='s';mps='s';sps='s';if(days==1)dps='';if(hours==1)hps='';if(minutes==1)mps='';if(seconds==1)sps='';if(days>0)
{document.all.countdown_coupon.innerHTML=days+' day'+dps+' ';}
else
{document.all.countdown_coupon.innerHTML='';}
if(hours>0)
{document.all.countdown_coupon.innerHTML+=hours+' hour'+hps+' ';}
else
{document.all.countdown_coupon.innerHTML='';}
document.all.countdown_coupon.innerHTML+=minutes+' minute'+mps+' and ';document.all.countdown_coupon.innerHTML+=seconds+' second'+sps+' '+until_text;break;default:document.all.countdown_coupon.innerHTML=Time_Left+' seconds '+until_text;}
setTimeout('countdown_with_coupon('+year+','+month+','+day+','+hour+','+minute+','+format+',"'+until_text+'");',1000);}
function countdown_clock_coupon(year,month,day,hour,minute,format,until_text)
{html_code='<div id="countdown_coupon"></div>';document.write(html_code);countdown_with_coupon(year,month,day,hour,minute,format,until_text);}
function countdown_small(year,month,day,hour,minute,format,until_text)
{Today=new Date();Todays_Year=Today.getFullYear()-2000;Todays_Month=Today.getMonth()+1;Todays_Date=(new Date(Todays_Year,Todays_Month,Today.getDate(),Today.getHours(),Today.getMinutes(),Today.getSeconds())).getTime();Target_Date=(new Date(year,month,day,hour,minute,00)).getTime();Time_Left=Math.round((Target_Date-Todays_Date)/1000);if(Time_Left<0)
Time_Left=0;switch(format)
{case 0:document.all.countdown_small.innerHTML=Time_Left+' seconds '+until_text;break;case 1:days=Math.floor(Time_Left/(60*60*24));Time_Left%=(60*60*24);hours=Math.floor(Time_Left/(60*60));Time_Left%=(60*60);minutes=Math.floor(Time_Left/60);Time_Left%=60;seconds=Time_Left;dps='s';hps='s';mps='s';sps='s';if(days==1)dps='';if(hours==1)hps='';if(minutes==1)mps='';if(seconds==1)sps='';if(days>0)
{document.all.countdown_small.innerHTML=days+'d'+' ';}
else
{document.all.countdown_small.innerHTML='';}
if(hours>0)
{document.all.countdown_small.innerHTML+=hours+' hr'+hps+' ';}
else
{document.all.countdown_small.innerHTML='';}
document.all.countdown_small.innerHTML+=minutes+' min'+' and ';document.all.countdown_small.innerHTML+=seconds+' sec'+' '+until_text;break;default:document.all.countdown_small.innerHTML=Time_Left+' seconds '+until_text;}
setTimeout('countdown_small('+year+','+month+','+day+','+hour+','+minute+','+format+',"'+until_text+'");',1000);}
function openStationList(domain){stations=window.open('http://www.'+domain+'/testmenu.php?start=A','0','directories=0,dependent=1,menubar=0,top=20,left=20,width=530,height=450,scrollbars=1');if(window.focus){stations.focus();}}
function updateField(fieldValue1,fieldValue2,fieldValue3,fieldValue4)
{document[formname][brandName].value=fieldValue1;document[formname][modelName].value=fieldValue2;document[img_name].src=fieldValue3;document[formname][IDName].src=fieldValue4;}
function countdown_clock(year,month,day,hour,minute,format,until_text)
{countdown(year,month,day,hour,minute,format,until_text);}
function countdown_clock_small(year,month,day,hour,minute,format,until_text)
{html_code='<div id="countdown_small"></div>';document.write(html_code);countdown_small(year,month,day,hour,minute,format,until_text);}
function countdown(year,month,day,hour,minute,format,until_text)
{Today=new Date();Todays_Year=Today.getFullYear()-2000;Todays_Month=Today.getMonth()+1;Todays_Date=(new Date(Todays_Year,Todays_Month,Today.getDate(),Today.getHours(),Today.getMinutes(),Today.getSeconds())).getTime();Target_Date=(new Date(year,month,day,hour,minute,00)).getTime();Time_Left=Math.round((Target_Date-Todays_Date)/1000);if(Time_Left<0)
Time_Left=0;switch(format)
{case 0:document.getElementById('countdown').innerHTML=Time_Left+' seconds '+until_text;break;case 1:days=Math.floor(Time_Left/(60*60*24));Time_Left%=(60*60*24);hours=Math.floor(Time_Left/(60*60));Time_Left%=(60*60);minutes=Math.floor(Time_Left/60);Time_Left%=60;seconds=Time_Left;dps='s';hps='s';mps='s';sps='s';if(days==1)dps='';if(hours==1)hps='';if(minutes==1)mps='';if(seconds==1)sps='';if(days>0)
{document.getElementById('countdown').innerHTML=days+' day'+dps+' ';}
else
{document.getElementById('countdown').innerHTML='';}
if(hours>0)
{document.getElementById('countdown').innerHTML+=hours+' hour'+hps+' ';}
else
{document.getElementById('countdown').innerHTML='';}
document.getElementById('countdown').innerHTML+=minutes+' minute'+mps+' and ';document.getElementById('countdown').innerHTML+=seconds+' second'+sps+' '+until_text;break;default:document.getElementById('countdown').innerHTML=Time_Left+' seconds '+until_text;}
setTimeout('countdown('+year+','+month+','+day+','+hour+','+minute+','+format+',"'+until_text+'");',1000);}
function countdown_with_coupon(year,month,day,hour,minute,format,until_text)
{Today=new Date();Todays_Year=Today.getFullYear()-2000;Todays_Month=Today.getMonth()+1;Todays_Date=(new Date(Todays_Year,Todays_Month,Today.getDate(),Today.getHours(),Today.getMinutes(),Today.getSeconds())).getTime();Target_Date=(new Date(year,month,day,hour,minute,00)).getTime();Time_Left=Math.round((Target_Date-Todays_Date)/1000);if(Time_Left<0)
Time_Left=0;switch(format)
{case 0:document.getElementById('countdown_coupon').innerHTML=Time_Left+' seconds '+until_text;break;case 1:days=Math.floor(Time_Left/(60*60*24));Time_Left%=(60*60*24);hours=Math.floor(Time_Left/(60*60));Time_Left%=(60*60);minutes=Math.floor(Time_Left/60);Time_Left%=60;seconds=Time_Left;dps='s';hps='s';mps='s';sps='s';if(days==1)dps='';if(hours==1)hps='';if(minutes==1)mps='';if(seconds==1)sps='';if(days>0)
{document.getElementById('countdown_coupon').innerHTML=days+' day'+dps+' ';}
else
{document.getElementById('countdown_coupon').innerHTML='';}
if(hours>0)
{document.getElementById('countdown_coupon').innerHTML+=hours+' hour'+hps+' ';}
else
{document.getElementById('countdown_coupon').innerHTML='';}
document.getElementById('countdown_coupon').innerHTML+=minutes+' minute'+mps+' and ';document.getElementById('countdown_coupon').innerHTML+=seconds+' second'+sps+' '+until_text;break;default:document.getElementById('countdown_coupon').innerHTML=Time_Left+' seconds '+until_text;}
setTimeout('countdown_with_coupon('+year+','+month+','+day+','+hour+','+minute+','+format+',"'+until_text+'");',1000);}
function countdown_clock_coupon(year,month,day,hour,minute,format,until_text)
{html_code='<div id="countdown_coupon"></div>';document.write(html_code);countdown_with_coupon(year,month,day,hour,minute,format,until_text);}
function countdown_small(year,month,day,hour,minute,format,until_text)
{Today=new Date();Todays_Year=Today.getFullYear()-2000;Todays_Month=Today.getMonth()+1;Todays_Date=(new Date(Todays_Year,Todays_Month,Today.getDate(),Today.getHours(),Today.getMinutes(),Today.getSeconds())).getTime();Target_Date=(new Date(year,month,day,hour,minute,00)).getTime();Time_Left=Math.round((Target_Date-Todays_Date)/1000);if(Time_Left<0)
Time_Left=0;switch(format)
{case 0:document.getElementById('countdown_small').innerHTML=Time_Left+' seconds '+until_text;break;case 1:days=Math.floor(Time_Left/(60*60*24));Time_Left%=(60*60*24);hours=Math.floor(Time_Left/(60*60));Time_Left%=(60*60);minutes=Math.floor(Time_Left/60);Time_Left%=60;seconds=Time_Left;dps='s';hps='s';mps='s';sps='s';if(days==1)dps='';if(hours==1)hps='';if(minutes==1)mps='';if(seconds==1)sps='';if(days>0)
{document.getElementById('countdown_small').innerHTML=days+'d'+' ';}
else
{document.getElementById('countdown_small').innerHTML='';}
if(hours>0)
{document.getElementById('countdown_small').innerHTML+=hours+' hr'+hps+' ';}
else
{document.getElementById('countdown_small').innerHTML='';}
document.getElementById('countdown_small').innerHTML+=minutes+' min'+' and ';document.getElementById('countdown_small').innerHTML+=seconds+' sec'+' '+until_text;break;default:document.getElementById('countdown_small').innerHTML=Time_Left+' seconds '+until_text;}
setTimeout('countdown_small('+year+','+month+','+day+','+hour+','+minute+','+format+',"'+until_text+'");',1000);}
var enabletip=false;function ietruebody(){var ie=document.all
var ns6=document.getElementById&&!document.all
if(ie||ns6)
var tipobj=document.all?document.all["dhtmltooltip"]:document.getElementById?document.getElementById("dhtmltooltip"):""
return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}
function ddrivetip(title,thecolor,thewidth,imagePath,width,height,price){var ie=document.all
var ns6=document.getElementById&&!document.all
if(ie||ns6)
var tipobj=document.getElementById("dhtmltooltip");if(ns6||ie)
{if(typeof thewidth!="undefined")tipobj.style.width=thewidth+"px";if(typeof thecolor!="undefined"&&thecolor!="")tipobj.style.backgroundColor=thecolor;title="<table width=200 align=center><tr><td align=center>"+title;title=title+"</td></tr></table>";title=title+"<p align=center><br><img src="+imagePath+" width="+width+" height="+height;title=title+"<br>"+price+"</p>";tipobj.innerHTML=title;enabletip=true;return false;}}
function positiontip(e){var offsetxpoint=-60
var offsetypoint=20
var ie=document.all
var ns6=document.getElementById&&!document.all
if(ie||ns6)
var tipobj=document.getElementById("dhtmltooltip");if(enabletip){var curX=(ns6)?e.pageX:event.clientX+ietruebody().scrollLeft;var curY=(ns6)?e.pageY:event.clientY+ietruebody().scrollTop;var rightedge=ie&&!window.opera?ietruebody().clientWidth-event.clientX-offsetxpoint:window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera?ietruebody().clientHeight-event.clientY-offsetypoint:window.innerHeight-e.clientY-offsetypoint-20
var leftedge=(offsetxpoint<0)?offsetxpoint*(-1):-1000
if(rightedge<tipobj.offsetWidth)
tipobj.style.left=ie?ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px":window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
else if(curX<leftedge)
tipobj.style.left="5px"
else
tipobj.style.left=curX+offsetxpoint+"px"
if(bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie?ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px":window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
else
tipobj.style.top=curY+offsetypoint+"px"
tipobj.style.visibility="visible"}}
function hideddrivetip(){var ie=document.all
var ns6=document.getElementById&&!document.all
if(ie||ns6)
var tipobj=document.getElementById("dhtmltooltip");if(ns6||ie){enabletip=false
tipobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''}}
document.onmousemove=positiontip