// JavaScript Document
//对象,绝对地址头,路径<img src="{#PathUrl#}{#tsImg#}" border="0" class="png_bg" title="{#tsTitle#}" alt="{#tsTitle#}" width="990" height="172" onmouseover="urlCheck(this,'{#PathUrl#}','{#tsUrl#}')"  />
function urlCheck(o,path,url)
{
	if(url.length>0)
	{
		o.style.cursor='pointer';
		if(url.indexOf("://")!=-1&&url.indexOf("://")<10)
		{
			o.onclick=function(){top.location.href=url;};

		}
		else
		{
			o.onclick=function(){top.location.href=path+url;};

		}
	}
	else
	{
		o.style.cursor='default';
	}
}
