    function void(){}
    // Bookmark this site using browsers
    function bookmarksiteIE(title, url){
      if (document.all) // ie
        window.external.AddFavorite(url, title);
    }
    function bookmarksiteFF(title, url){
      if (window.LeftSidebar) // firefox
        window.LeftSidebar.addPanel(title, url, "");
    }
	
  	function wOpen(lnk, w, h)
  	{
  		window.open(lnk, "", "left="+(screen.width/2-w/2)+", top="+(screen.height/2-h/2)+", width="+w+",height="+h+",resizable=yes,location=yes,scrollbars=yes,status=yes");
  	}    
  	
  	function wOpenNamed(lnk, w, h, n)
  	{
  		window.open(lnk, n, "left="+(screen.width/2-w/2)+", top="+(screen.height/2-h/2)+", width="+w+",height="+h+",resizable=yes,location=yes,scrollbars=yes,status=yes");
  	}    	

   		
	  function popIm(fname, w, h)
    {
                lnk = "http://jobs.fresho.com/picture/"+fname;
                window.open(lnk, 'show_img', 'width='+w+', height='+h+',directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=yes,top='+(screen.height/2-h/2)+',left='+(screen.width/2-w/2));
    }
    
	  function popImg(fname, w, h)
    {
                lnk = "http://jobs.fresho.com/"+fname;
                window.open(lnk, 'show_img', 'width='+w+', height='+h+',directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=yes,top='+(screen.height/2-h/2)+',left='+(screen.width/2-w/2));
    }    
  
      function _FlashMapLoad(iamin){  
        var so = new SWFObject("/images/map/usa_locator_demo.swf", "usa_locator", "530", "410", "7", "#F5F5F5");
        so.addVariable("xmlfile1", "/"+iamin+"/flashmap.xml");
        so.write("usa_locator_demo");
      }
    
   	  function setMail(a,l){
    		/*alert(a.href);*/
    		if (a.href.substr(0,6)!="mailto")
    			a.href="m"+"a"+"i"+"l"+"to"+":"+a.href.substr(a.href.length-l).replace(/\+/,"@");
    		/*alert(a.href);*/
    	}
    	
      function imposeMaxLength(Object)
      {
        return (Object.value.length <= Object.getAttribute('maxlength'));
      }
      
      function checkPayable(Object, PayArr)
      {
        for (var i = 0; i < PayArr.length; i++) {
          if(Object.value==PayArr[i])
            return true;
        }
        return false;
      }
      
      function setPayNotice(elemid,elemc,cla){
        var newDiv = document.createElement('div');
        newDiv.setAttribute('class', cla);
        newDiv.innerHTML=elemc;
        document.getElementById(elemid).innerHTML='';
        document.getElementById(elemid).appendChild(newDiv);
      }
      
      function _lockFields(elemid){
        var elemId = document.getElementById(elemid);
        elemId.disabled=true;
        elemId.style.background="#dddddd";
      }
      function _unlockFields(elemid){
        var elemId = document.getElementById(elemid);
        elemId.disabled=false;
        elemId.style.background="#ffffff";
      }      
      
      function delConfirm(){
        var r=confirm("Are you sure you want to delete this ad?");
        if (r==true)
          return true;
        else
          return false;
      }
    	
      function onLoadMe(){
        var str=document.referrer;
        if( top.frames.length > 0 && str.match(location.hostname)==null ){
          try{
            str_own=top.document.location;
          }catch(err){
            window.location="http://jobs.fresho.com/ntc.html?ntcvar="+document.referrer+'-tf-'+top.frames.length+'-rp-'+document.location;
            //Ajax recorder
          }
        }

      }
      onLoadMe();