function linkTo(url){
    //alert('LinkTo started...');
    location.href=url;
}

function hiliteTab(objId,mode){
	var hObj;
	if(document.getElementById){
		hObj = document.getElementById(objId);
		if(typeof hObj=="object"){
			if(mode==1){
				hObj.style.color = "#000000";
			}else{
				hObj.style.color = "#666666";
			}
		}
	}
}

function changeImg(iName,iMode){
	var iSrc = document.images[iName].src;
	if(iMode==1){
		iSrc = iSrc.replace("_lo.","_hi.");
	}else{
		iSrc = iSrc.replace("_hi.","_lo.");
	}
	document.images[iName].src = iSrc;
}

function selInput(obj,defaultText){
	if(obj.value==defaultText){
		obj.value="";
		obj.style.color = "#000000";
	}
}

function blurInput(obj,defaultText){
	if(obj.value==""){
		obj.value=defaultText;
		obj.style.color = "#999999";
	}
}

function set_cookie_language(name, value, expires){
    document.cookie = name + '=' + escape(value) + (( !expires ) ? "" : ('; expires=' + expires.toUTCString())) + '; path=/';
}
