/*
 * Version file......: 1.1005.31
 * Original file name: functions-top.version-full.js
 * Last change.......: Mon, 14 Jun 2010 11:14:13
 */

(function(){if(!window.console||!console.firebug){var b=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","profile","profileEnd"];window.console={};for(var a=0;a<b.length;++a){window.console[b[a]]=function(){}}}})();function runsAfterJQuery(b){var a=b;if(typeof jQuery!="undefined"){a.call(true);return true}else{console.info("Waiting for jQuery... +800");setTimeout(function(){runsAfterJQuery(a)},800)}}function runsAfterLoad(a){if(document.readyState==="complete"){a.call(document)}else{if(typeof jQuery=="undefined"){if(window.addEventListener){window.addEventListener("load",a,false)}else{window.attachEvent("onload",a)}return true}else{jQuery(window).ready(a)}}return false}function _GET(b){var a=location.href.replace(location.href.split("?")[0]+"?","");var c=a.split("&");for(n in c){if(c[n].match(b)){return unescape(c[n].replace(b+"=","")).replace(/\"/g,"'")}}return null}_COOKIE={read:function(b){var e=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var f=a[d];while(f.charAt(0)==" "){f=f.substring(1,f.length)}if(f.indexOf(e)==0){return f.substring(e.length,f.length)}}return null},write:function(c,d,e){var b=new Date();if(typeof e!="undefined"){b.setTime(b.getTime()+(e));var a="; expires="+b.toGMTString()}else{b.setTime(b.getTime()+(days*24*60*60*1000));var a="; expires="+b.toGMTString()}document.cookie=c+"="+d+a+"; path=/"}};jsRefresh=null;function setJsRefresh(a){if(typeof a=="undefined"){a=500}jsRefresh=setTimeout(function(){window.location.href=window.location.href},a*1000)}function writeFlash(d,b,e,c,a){if(typeof a=="undefined"){var a=""}if(typeof c=="undefined"){var c=""}document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=9,0,28,0" width="'+b+'" height="'+e+'" id="flash" align="">');document.write('<param name="movie" value="'+d+'">');document.write('<param name="allowscriptaccess" value="always">');
if(c!=""){document.write('<param name="base" value="'+c+'">')}document.write('<param name="quality" value="high">');document.write('<param name="wmode" value="opaque">');document.write('<param name="flashvars" value="'+a+'">');document.write('<embed flashvars="'+a+'" src="'+d+'" allowscriptaccess="always" base="'+c+'" quality="high" wmode="opaque" width="'+b+'" height="'+e+'" name="flash" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');document.write("</object>")}function nWriteFlash(d,c,a,b){if(typeof b!="object"){b={}}b.width=c;b.height=a;if(typeof getCodeFlash=="function"){document.write(getCodeFlash(d,b))}}function getCodeFlash(b,a){if(typeof a!="object"){a={}}var d={width:a.width||"100px",height:a.height||"100px",flashvars:a.flashvars||"",baseflash:a.baseflash||"",wmode:a.wmode||"transparent",allowscriptaccess:a.allowscriptaccess||"always",bgcolor:a.bgcolor||"#ffffff",align:a.align||"l",salign:a.salign||"t",loop:a.loop||"true"};var c='<object codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=9,0,28,0" width="'+d.width+'" height="'+d.height+'" align="'+d.align+'">  <param name="movie" value="'+b+'">  <param name="allowscriptaccess" value="'+d.allowscriptaccess+'">  <param name="base" value="'+d.baseflash+'">  <param name="quality" value="high">  <param name="wmode" value="'+d.wmode+'">  <param name="flashvars" value="'+d.flashvars+'">  <param name="bgcolor" value="'+d.bgcolor+'">  <param name="salign" value="'+d.salign+'">  <param name="loop" value="'+d.loop+'">  <embed align="'+d.align+'" salign="'+d.salign+'" loop="'+d.loop+'" flashvars="'+d.flashvars+'" src="'+b+'" allowscriptaccess="'+d.allowscriptaccess+'" base="'+d.baseflash+'" quality="high" wmode="'+d.wmode+'" width="'+d.width+'" height="'+d.height+'" bgcolor="'+d.bgcolor+'" name="flash" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>';return c
};


