var d=window.document;if(typeof($)=='undefined'){var $=function(id){if(!id)id=window.document;else if(typeof(id)!='object'){if(d.getElementById(id))id=d.getElementById(id);}return ODY.extend(id,{hide:function(){try{id.style.display='none';}catch(e){}},show:function(){try{id.style.display='block';}catch(e){}},addClass:function(n){if(!this.hasClass(n))id.className+=' '+n;},deleteClass:function(n){if(this.hasClass(n)){var w=new RegExp("(^"+n+"$|"+n+"\\s|\\s"+n+")");id.className=id.className.replace(w,'');}},hasClass:function(n){var w=new RegExp("(^"+n+"$|\\s"+n+"\\s|^"+n+"\\s|\\s"+n+"$)");return w.test(id.className);}});}};if(typeof(ODY)=='undefined'){window.ID=function(id){if(typeof(id)!='string')return;if(d.getElementById(id))return d.getElementById(id);else return;};window.CSS=function(e){};var ODY={ver:'0.28.1',UA:navigator.userAgent.toLowerCase(),extend:function(t,s){for(var w in s)t[w]=s[w];return t;},TS:new Date(),SSL:d.location.href.substr(4,1)=='s'?'s':''};ODY.extend(ODY,{isOpera:!!window.opera,isIE:!!(d.all&&!window.opera),isSafari:/safari/.test(ODY.UA)&&!/chrome/.test(ODY.UA),isGecko:(navigator.product=='Gecko'&&!/(compatible|webkit)/.test(ODY.UA)),isChrome:/chrome/.test(ODY.UA),isWebkit:/khtml/.test(ODY.UA),isWin:navigator.platform.indexOf('Win')>-1,isLinux:navigator.platform.indexOf('Linux')>-1,isMac:navigator.platform.indexOf('Mac')>-1});ODY.extend(ODY,{'$':function(id){return id;},'event':{_domReady:false,_ondomloadList:[],_ondomloadSet:function(f){this._ondomloadList.push(f);if(this._ondomloadList.length>1)return;if(ODY.isIE){document.write("<sc"+"ript id=__ie_onload defer src=javascript:void(0)><\/sc"+"ript>");var script=document.getElementById("__ie_onload");script.onreadystatechange=function(){if(this.readyState=="complete"){ODY.event._ondomloadStart();}};}else if(ODY.isWebkit){var t=setInterval(function(){if(/loaded|complete/.test(d.readyState)){ODY.event._ondomloadStart();}},10);}else{ODY.event.set('onload',ODY.event._ondomloadStart());}},_ondomloadStart:function(){if(this._domReady)return;this._domReady=true;for(var i in this._ondomloadList)this._ondomloadList[i]();},set:function(o,t,f){if(arguments.length==3){if(typeof(o)=='string'&&o.length==0)return null;o=typeof(o)!='object'?$(o):o;}else if(arguments.length==2){f=t;t=o;o=window;}else return false;if(typeof(f)!='function')return false;if(t=='ondomload'){if((ODY.isGecko||ODY.isOpera)&&!ODY.isWebkit)document.addEventListener('DOMContentLoaded',f,false);else this._ondomloadSet(f);}else if(o.attachEvent)o.attachEvent(t,f);else if(o.addEventListener)o.addEventListener(t.substr(2),f,false);},unset:function(o,t,fn){if(arguments.length==3){o=typeof(o)=='object'?o:$(o);}else if(arguments.length==2){f=t;t=o;o=window;}else return false;o=typeof(o)=='object'?o:$(o);if(o.detachEvent)o.detachEvent(t,fn);else if(o.removeEventListener)o.removeEventListener(t.substr(2),fn,false);},getNode:function(t){var n;t=typeof(t)!='undefined'?t:window.event;if(t.target)n=t.target;else if(t.srcElement)n=t.srcElement;if(n.nodeType==3)n=targ.parentNode;return n;}},getEventNode:function(t){var n;if(!t)var t=window.event;if(t.target)n=t.target;else if(t.srcElement)n=t.srcElement;if(n.nodeType==3)n=targ.parentNode;return n;},getEventParentId:function(t){},tab:{activate:function(id,t){new ODY.tabs(id)}},'mouse':{trace:function(){},x:0,y:0},isArray:function(o){if(!o||o.constructor.toString().indexOf("Array")==-1)return false;else
return true;},cloud:{},'window':{width:function(){var w;if(window.innerWidth){w=window.innerWidth;}else if(d.documentElement&&d.documentElement.clientWidth){w=d.documentElement.clientWidth;}else if(d.body){w=d.body.clientWidth;}return w;},height:function(){var h;if(window.innerHeight){h=window.innerHeight;}else if(d.documentElement&&d.documentElement.clientHeight){h=d.documentElement.clientHeight;}else if(d.body){h=d.body.clientHeight;}return h;}}});}
if(self!=top)top.location.href=self.location.href;
