function find_object(id) {
    if (document.getElementById) { 
        if (!(document.getElementById(id))) { 
            return false; 
        } 
        return document.getElementById(id); } else return false; 
}

function jslink(mySel)
{
/*var myWin, myVal;
myVal = mySel.options[mySel.selectedIndex].value;
if(myVal)
   {
   if(mySel.form.target)myWin = parent[mySel.form.target];
   else myWin = window;
   if (! myWin) return true;
   myWin.location = myVal;
   }*/
    window.open (mySel,"_blank"); 
return false;
}

function SetLang(cookieName,cookieValue,nDays) {
 var today = new Date();
 var expire = new Date();
 if (nDays==null || nDays==0) nDays=1;
 expire.setTime(today.getTime() + 3600000*24*nDays);
 document.cookie = cookieName+"="+escape(cookieValue)
                 + ";expires="+expire.toGMTString() + "; path=/";
   
window.location.reload();
}
