// JavaScript Document

function BlurLinks()
{
	if(document.getElementById)
	{
		lnks = document.getElementsByTagName('a');
		for(i=0;i<lnks.length;i++)
		{
			lnks[i].onfocus = new Function("if(this.blur)this.blur()");
		}
			
	}
}

function newWindow(theURL,winName,width,height,features)
{
    var window_width = width;
    var window_height = height;
    var newfeatures = features;
    var window_top = (screen.height - window_height) / 2;
    var window_left = (screen.width - window_width) / 2;
    newWindow = window.open('' + theURL + '','' + winName + '','width = ' + window_width + ',height = ' + window_height + ',top = ' + window_top + ',left = ' + window_left + ',features = ' + newfeatures + '');
	newWindow.focus();
}

function PopupPic(sPicURL,alt)
{
	window.open("../pictures.aspx?" + sPicURL + "&amp;alt = " + alt,"","resizable = 1,height = 10,width = 10");
	self.focus();
}

function PopupPic2(sPicURL,alt)
{
	window.open("pictures.aspx?" + sPicURL + "&amp;alt = " + alt,"","resizable = 1,height = 10,width = 10");
	self.focus();
}

function Emailer()
{
	var a = "info";
	var b = "tiraskamby";
	var c = "com";
	window.open("" + "mail" + "to:" + a + "@" + b + "." + c + "");
}

function status_tekst(tekst)
{
	status=tekst;
	document.retur = true;
}










