var re;
re = new RegExp(".*[url]?.*(http:\/\/[a-zA-Z0-9\.\/_-]*)","i");
re.compile(".*[url]?.*(http:\/\/[a-zA-Z0-9\.\/_-]*)","i");

cjurls = new Array
	(
	'http://www.twoja strona.com/vhgfgfgfgfg.html',// id="0"
	'http://www.twoja strona.com/dhhgfjhgjghj.html',// id="1"
	'http://www.twoja strona.com/dhhgfjhgjg.html'// id="2"
	// i tak dalej
	);

document.onmouseover = onmouseover_handler;
document.onmouseout = onmouseout_handler;
document.onfocus = onmouseover_handler;

function onmouseover_handler()
{
	if (document.links)
	{
		var srcElement = event.srcElement;
		
		if (srcElement.tagName == "IMG")
		{
			srcElement = srcElement.parentElement
		}
   
		if (srcElement.tagName == "A")
		{
			if (srcElement.id == "noparse")
				return true;

			if (srcElement.id != "no")
			{
				if (parseInt(srcElement.id) < 100)
				{
					status = cjurls[parseInt(srcElement.id)]
			    }
				else
				{
				re.exec(unescape(srcElement.href)) 
					
            status=RegExp.$1;
				   
				   
				} 
			}
			else
			{
				status = unescape(srcElement.href);
			}
	 	}
	}
	return true;
}

function onmouseout_handler()
{
	if (document.links)
	{
    	status = '';  
	}
	return true;
}

if (top.frames.length!=0)
top.location=self.document.location;
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);
self.focus();
window.defaultStatus='';
