var ie6= function(){return(!(-[1,]))}
function bindReady(handler){var called=false;function ready(){if(called){return;}called = true;handler();}if (document.addEventListener){document.addEventListener("DOMContentLoaded",function(){ready();},false);}else if (document.attachEvent){if (document.documentElement.doScroll && window==window.top){function tryScroll(){if (called || !document.body) return; try{document.documentElement.doScroll("left");ready();}catch(e){setTimeout(tryScroll,0);}}tryScroll();}document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete") ready();});}if (window.addEventListener) window.addEventListener('load',ready,false);else if (window.attachEvent) window.attachEvent('onload',ready);}readyList=[];function whenReady(handler){if(!readyList.length){bindReady(function(){ for(var i=0;i<readyList.length;i++){readyList[i]();}})}readyList.push(handler)}function addEvent(obj, evType, fn){ if (obj.addEventListener){obj.addEventListener(evType, fn, false);}else if (obj.attachEvent){obj.attachEvent('on' + evType, fn);}}function get(id){return document.getElementById(id)};var getByName = function(name){return document.getElementsByName(name)};var getByTag = function(tag){return document.getElementsByTagName(tag)};function getWidth(a){return document.getElementById(a).offsetWidth};
var getHeight = function(id){return document.getElementById(id).offsetHeight};var getLeft = function(id){return document.getElementById(id).offsetLeft};var getTop = function(id){return document.getElementById(id).offsetTop};function hover(obj){obj.style.cursor='pointer';}function linkHover(obj){obj.style.cursor='pointer';obj.style.textDecoration="underline";}function linkOut(obj){obj.style.textDecoration='none';}function goTo(url){document.location.href=url;}function addClass(o,c){get(o).className = c;}function removeClass(o, c){get(o).className = '';}function fixPNG(){element = getByTag('*');for(i=0;i<element.length;i++){var src;if (element[i].tagName=='IMG') {if (/\.png$/.test(element[i].src)){if (element[i].offsetWidth<element[i].parentNode.offsetWidth){var sizingMethod='scale'}else{sizingMethod='image'}src = element[i].src;element[i].src = "assets/images/empty.gif";}}else {src = element[i].currentStyle.backgroundImage.match(/url\("(.+\.png)"\)/i);if (src){src = src[1];element[i].runtimeStyle.backgroundImage="none";}}if (src) element[i].runtimeStyle.filter ="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='"+sizingMethod+"')";}}
/*-------------*/
whenReadyFunc=[];wrFunc = whenReadyFunc.length;for (i=0;i<wrFunc;i++){whenReady(whenReadyFunc[i])}





    

	
