<!--  
  window.onload = function() { init(); }
  window.onresize = function() { re(); }
    
  // init func
  function init() {
    if (!document.getElementById && document.all) {    
    document.getElementById = new Function('id', 'return document.all[id]')    
    }                       
  }        
              
  // window resize func    
  function re() {}      
  
  function getDiv(divID,oDoc) {
      if( !oDoc ) { oDoc = document; }
      if( document.layers ) {
          if( oDoc.layers[divID] ) { return oDoc.layers[divID]; } else {
              for( var x = 0, y; !y && x < oDoc.layers.length; x++ ) {
                  y = getRefToDiv(divID,oDoc.layers[x].document); }
              return y; } }
      if( document.getElementById ) {
          return document.getElementById(divID); }
      if( document.all ) {
          return document.all[divID]; }
      return false;
  }
      
  function getX(obj)
  {    
   return( obj.offsetParent==null ? obj.offsetLeft : obj.offsetLeft+getX(obj.offsetParent) );
  }
  
  function getY(obj)
  {       
   return( obj.offsetParent==null ? obj.offsetTop : obj.offsetTop+getY(obj.offsetParent) );        
  } 
     
  function reclass(obj, newClass) {  
    obj.className=newClass;  
  }     
          
	function classchange(theClass,element,value) {
	 var cssRules;
	 if (document.all) {
	  cssRules = 'rules';
	 }
	 else if (document.getElementById) {
	  cssRules = 'cssRules';
	 }
	 for (var S = 0; S < document.styleSheets.length; S++){
	  for (var R = 0; R < document.styleSheets[S][cssRules].length; R++) {
	   if (document.styleSheets[S][cssRules][R].selectorText == theClass) {
	    document.styleSheets[S][cssRules][R].style[element] = value;
	   }
	  }
	 }	
	} 
	
	function getWindowWidth()
	{
		return window.innerWidth ? window.innerWidth : document.body.offsetWidth;
	}		    
-->      