//FLASH CHECKER var MM_contentVersion = 6; var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0; if ( plugin ) { var words = navigator.plugins["Shockwave Flash"].description.split(" "); for (var i = 0; i < words.length; ++i) { if (isNaN(parseInt(words[i]))) continue; var MM_PluginVersion = words[i]; } var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion; } else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) { document.write(' \n'); //FS hide this from IE4.5 Mac by splitting the tag document.write('on error resume next \n'); document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n'); document.write(' \n'); } //COOKIE FUNCTIONS var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1; 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) { unser_cookie = document.cookie; prefix = name + "="; anfang = unser_cookie.indexOf(prefix); if (anfang == -1) {return null;} ende = document.cookie.indexOf(";", anfang); if (ende == -1) {ende = unser_cookie.length;} return unescape(unser_cookie.substring(anfang + prefix.length, ende)); } function deleteCookie(name, path, domain) { if (getCookie(name)||getCookie(name)=="") { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } function save_data(strCookieName, strCookieContent) { expireDate = new Date(2093,11,31,05,42,00); setCookie(strCookieName,strCookieContent,expireDate,'','',''); } //SET COOKIE FOR EVERY USER if (getCookie("pwCookie")) { } else { save_data("pwCookie",Math.round(1+1000000000*Math.random())); }