//alert (qString); //add the state info to the object tag flash_QueryString += qString; // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65) var hasProductInstall = DetectFlashVer(6, 0, 65); // Version check based upon the values entered above in "Globals" var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); // Location visited after installation is complete if installation is required var MMredirectURL = window.location; // Check to see if a player with Flash Product Install is available and the version does not meet the requirements for playback if ( hasProductInstall && !hasReqestedVersion ) { // Stored value of document title used by the installation process to close the window that started the installation process // This is necessary to remove browser windows that will still be utilizing the older version of the player after installation is complete // DO NOT MODIFY THE FOLLOWING TWO LINES document.title = document.title.slice(0, 47) + " - Flash Player Installation"; var MMdoctitle = document.title; var productInstallOETags = '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '<\/embed>' + '<\/object>'; document.write(productInstallOETags); // embed the Flash Product Installation SWF //alert(" Express Install " + productInstallOETags); } else if (hasReqestedVersion) { // if we've detected an acceptable version //start url rewrite var hash_variables = ""; if(window.location.hash.length > 0){ // detection_hash = "#" + window.location.hash.substring(1,window.location.hash.length); varArray = window.location.hash.split('#')[1].split('&'); for(var x=0; x'; } } var form_variables=""; function getVars() { if(window.location.href.indexOf('?') > 0){ //remove everything after the hash characters var str_new = window.location.href.substring(0,(window.location.href.length-window.location.hash.length)); varArray = str_new.split('?')[1].split('&'); for(var x=0; x'; } } } getVars(); var detection_form = '
' + hash_variables + form_variables + '' + '
'; document.write(detection_form); document.detection_form.submit(); //end url rewrite //alert(navigator.userAgent); if(navigator.userAgent.toLowerCase().indexOf("netscape/8") != -1) { //alert("netscape 8"); var flashObject = '' + '' } else { var flashObject = '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + ''; } //alert(" good version js enabled " + flash_QueryString); //alert(" good version js enabled " + flashObject); document.write(flashObject); } else { // Stored value of document title used by the installation process to close the window that started the installation process // This is necessary to remove browser windows that will still be utilizing the older version of the player after installation is complete // DO NOT MODIFY THE FOLLOWING TWO LINES document.title = document.title.slice(0, 47) + " - Flash Player Installation"; var MMdoctitle = document.title; // flash is too old or we can't detect the plugin var flashObject = '' + '

Your browser does not have the latest
Macromedia Flash Player which is required to run
the Keystone Alley Cafe website.

' + '
If you are not redirected in 5 seconds, Please Click Here to download the current version
'; document.write(flashObject); //alert(" bad version js enabled " + flashObject); }