function setCookie(name, value, expires, path, domain, secure) { var curCookie=name+"="+escape(value)+((expires)?"; expires="+expires.toGMTString():"")+ ((path)?"; path="+path:"")+((domain)?"; domain="+domain:"")+((secure)?"; secure":""); document.cookie=curCookie;} function getCookie(name){var dc=document.cookie;var prefix=name+"="; var begin=dc.indexOf("; "+prefix);if(begin == -1){begin=dc.indexOf(prefix); if(begin != 0) return null;}else begin+=2; var end=document.cookie.indexOf(";", begin); if(end == -1)end=dc.length;return unescape(dc.substring(begin+prefix.length, end));} function deleteCookie(name,path,domain){if(getCookie(name)){document.cookie=name+"="+ ((path) ? "; path="+path : "")+((domain) ? "; domain="+domain : "")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";}} function fixDate(date){var base=new Date(0);var skew=base.getTime();if(skew>0)date.setTime(date.getTime()-skew);} var detectableWithVB=false;var pluginFound=false;function goURL(daURL){if(javascriptVersion1_1){window.location.replace(daURL);}else{window.location=daURL;}return;} function redirectCheck(pluginFound,redirectURL,redirectIfFound){ if(redirectURL&&((pluginFound&&redirectIfFound)||(!pluginFound && !redirectIfFound))){ goURL(redirectURL);return pluginFound;}else{return pluginFound;}} function canDetectPlugins(){if(detectableWithVB||(navigator.plugins&&navigator.plugins.length>0)){ return true;}else{return false;}} function detectFlash(redirectURL,redirectIfFound){pluginFound=detectPlugin('Shockwave','Flash'); if(!pluginFound&&detectableWithVB){pluginFound=detectActiveXControl('ShockwaveFlash.ShockwaveFlash.1'); }return redirectCheck(pluginFound,redirectURL,redirectIfFound);} function detectDirector(redirectURL, redirectIfFound){pluginFound=detectPlugin('Shockwave','Director'); if(!pluginFound&&detectableWithVB){pluginFound=detectActiveXControl('SWCtl.SWCtl.1');} return redirectCheck(pluginFound,redirectURL,redirectIfFound);} function detectQuickTime(redirectURL,redirectIfFound){pluginFound=detectPlugin('QuickTime'); if(!pluginFound&&detectableWithVB){pluginFound=detectQuickTimeActiveXControl(); }return redirectCheck(pluginFound,redirectURL,redirectIfFound);} function detectReal(redirectURL,redirectIfFound){pluginFound=detectPlugin('RealPlayer'); if(!pluginFound&&detectableWithVB){pluginFound=(detectActiveXControl('rmocx.RealPlayer G2 Control')|| detectActiveXControl('RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)') || detectActiveXControl('RealVideo.RealVideo(tm) ActiveX Control (32-bit)')); }return redirectCheck(pluginFound, redirectURL, redirectIfFound);} function detectWindowsMedia(redirectURL, redirectIfFound){pluginFound=detectPlugin('Windows Media'); if(!pluginFound&&detectableWithVB){pluginFound=detectActiveXControl('MediaPlayer.MediaPlayer.1'); }return redirectCheck(pluginFound, redirectURL, redirectIfFound);} function detectPlugin(){var daPlugins=detectPlugin.arguments;var pluginFound=false; if(navigator.plugins&&navigator.plugins.length>0){ var pluginsArrayLength=navigator.plugins.length; for (pluginsArrayCounter=0; pluginsArrayCounter < pluginsArrayLength; pluginsArrayCounter++ ) { var numFound=0; for(namesCounter=0; namesCounter < daPlugins.length; namesCounter++) { if((navigator.plugins[pluginsArrayCounter].name.indexOf(daPlugins[namesCounter]) >= 0) || (navigator.plugins[pluginsArrayCounter].description.indexOf(daPlugins[namesCounter]) >= 0) ) { numFound++;}}if(numFound==daPlugins.length){pluginFound=true;break;}}}return pluginFound;} if((navigator.userAgent.indexOf('MSIE')!= -1)&&(navigator.userAgent.indexOf('Win')!= -1)){ document.writeln('