/**************************************** | | Killbear, Thanks for the Memories! | Created by: Kevin Biskaborn | Copyright 2007 ScriptReaction | http://www.scriptreaction.com | ****************************************/ var global = { level: "", //include folder level launch: function (){ //flashFilter: params: brd=borderWidth, brdclr=borderColour(default=fff), var=varInName, value=varInValue, name=flashMovieId, src, wmode(default=opaque) var divArray = document.getElementsByTagName("div"); for(var divCount=0; divCount 0){ var _colour = whichDiv.getAttribute("brdclr"); _colour = (_colour == null) ? "fff" : _colour; whichDiv.style.border = _border + "px solid #" + _colour; }else{ whichDiv.style.border = "0px"; } var _var = whichDiv.getAttribute("var"); if(_var != null){ _value = whichDiv.getAttribute("value"); } else { _var = _value = ""; } var _name = whichDiv.getAttribute("name"); var _id = (_name != null) ? _name : ""; var _src = whichDiv.getAttribute("src"); var _wmode = whichDiv.getAttribute("wmode"); _wmode = (_wmode != null) ? _wmode : "opaque"; var x = ''; x+= ''; if(_var != "") x+= ''; x+= ''; x+= ''; //no flash player if(!global.hasFlash){ var checkA = "navBnr.swf"; if(_src.slice(-(checkA.length)) == checkA){ //replace flash header with static image }else{ x = '
Your Flash Player needs to be upgraded to view this content. Visit Adobe.com...
'; } } global.setDivContent(divId,x); } } //control document images for(var a=0; a0){window.setTimeout("global.goTop()",25);}; }, setDivContent: function (divId,content){ if(document.all){ document.all[divId].innerHTML = content; }else{ document.getElementById(divId).innerHTML = content; } }, addEvent: function (object,eventType,functionName){ if(object.addEventListener){ object.addEventListener(eventType, functionName, false); return true; }else if(object.attachEvent){ var x = object.attachEvent("on"+eventType, functionName); return x; }else{ return false; } }, setAlpha: function (object,opacity){ opacity = (opacity == 100) ? 99.999 : opacity; object.style.filter = "alpha(opacity:" + opacity + ")"; //ie/win object.style.KHTMLOpacity = opacity/100; //safari<1.2,konqueror object.style.MozOpacity = opacity/100; //older mozilla/firefox object.style.opacity = opacity/100; //safari 1.2,newer firefox/mozilla,css3 }, email: function (){ global.emailcount++; /*domain*/ var a = arguments[0]; /*ca,com*/ var b = arguments[1]; /*idname*/ var c = arguments[2]; if(typeof(c)=='undefined'){ c = b; b = 'com'; } this['email' + global.emailcount] = c + '@' + a + '.' + b; document.write('' + this['email' + global.emailcount] + ''); } } var flashFilter = { //a ScriptReaction extension of: Unobtrusive Flash Objects (flashFilter) v3.20 major) ? true : false; }, detectVersion: function (){ if (navigator.plugins && typeof navigator.plugins["Shockwave Flash"] == "object") { flashFilter.pluginType = "npapi"; var _d = navigator.plugins["Shockwave Flash"].description; if (typeof _d != "undefined") { _d = _d.replace(/^.*\s+(\S+\s+\S+$)/, "$1"); var _m = parseInt(_d.replace(/^(.*)\..*$/, "$1"), 10); var _r = /r/.test(_d) ? parseInt(_d.replace(/^.*r(.*)$/, "$1"), 10) : 0; flashFilter.fv = [_m, _r]; } } else if (window.ActiveXObject) { flashFilter.pluginType = "ax"; try { // avoid fp 6 crashes var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); } catch(e) { try { var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); flashFilter.fv = [6, 0]; _a.AllowScriptAccess = "always"; // throws if fp < 6.47 } catch(e) { if (flashFilter.fv[0] == 6) return; } try { var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); } catch(e) {} } if (typeof _a == "object") { var _d = _a.GetVariable("$version"); // bugs in fp 6.21/6.23 if (typeof _d != "undefined") { _d = _d.replace(/^\S+\s+(.*)$/, "$1").split(","); flashFilter.fv = [parseInt(_d[0], 10), parseInt(_d[2], 10)]; } } } }, get: function (id, vars){ var output = ""; switch(id){ case "global_banner": output += '
'; break; } document.writeln(output); }, create: function (src, width, height){ var output = '
'; document.writeln(output); } } /********** global init **********/ flashFilter.launch(); global.addEvent(window, "load", global.launch); /**************************************** | | Killbear, Thanks for the Memories! | Created by: Kevin Biskaborn | Copyright 2007 ScriptReaction | http://www.scriptreaction.com | ****************************************/ var shell = { init: function (){ //global.level = top.global_base; global.level = ""; if(window.XMLHttpRequest){ if(window.ActiveXObject){ // IE 7 shell.browser = "ie"; shell.browserId = "ie7"; document.write(''); }else{ // Opera, Safari, Firefox shell.browser = "gecko"; shell.browserId = "gecko"; } }else{ //IE 6 and below shell.browser = "ie"; shell.browserVersion = 6; shell.browserId = "ie6"; document.write(''); } } } /********** shell init **********/ shell.init(); /**************************************** | | Killbear, Thanks for the Memories! | Created by: Kevin Biskaborn | Copyright 2007 ScriptReaction | http://www.scriptreaction.com | ****************************************/ var formHandler = { launch: function (){ var formHolder = document.getElementById("dataForm"); var formTypes = new Array("input", "select", "textarea"); for(var typeCount=0; typeCount