



function init(){

}

function changeImages(img_name, new_src)
{
	if(document.images)
		document.images[img_name].src=eval(new_src+".src");
}


function openw(linki,Wwidth,Wheight)
{
	var Pwidth=screen.width/2-parseInt(Wwidth)/2;
	var Pheight=screen.height/2-parseInt(Wheight)/2;
	x=window.open(linki,"window","width="+Wwidth+",height="+Wheight+",scrollbars,top="+Pheight+",left="+Pwidth);
	x.focus();
}

if(document.images){
	//bot1a = new Image;
	//bot1a.src = "images/contactus.gif";
	//bot1b = new Image;
	//bot1b.src = "images/contactus2.gif";


	bot1a = new Image;
	bot1a.src = "images/feedback.gif";
	bot1b = new Image;
	bot1b.src = "images/feedback2.gif";

	
	bot2a = new Image;
	bot2a.src = "images/privacy.gif";
	bot2b = new Image;
	bot2b.src = "images/privacy2.gif";	

	bot3a = new Image;
	bot3a.src = "images/credits.gif";
	bot3b = new Image;
	bot3b.src = "images/credits2.gif";
	
	legda = new Image;
	legda.src = "images/legd.gif";	
	legdb = new Image;
	legdb.src = "images/legd_2.gif";
	
	legooa = new Image;
	legooa.src = "images/legoo.gif";	
	legoob = new Image;
	legoob.src = "images/legoo_2.gif";
	
	legsa = new Image;
	legsa.src = "images/legs.gif";	
	legsb = new Image;
	legsb.src = "images/legs_2.gif";
	
	legha = new Image;
	legha.src = "images/legh.gif";	
	leghb = new Image;
	leghb.src = "images/legh_2.gif";	

}

function over_id(tag){
	 changeImages('id_'+tag,'id_'+tag+'b');
	 changeImages('leg'+tag,'leg'+tag+'b');
}

function out_id(tag){
	changeImages('id_'+tag,'id_'+tag+'a');
	changeImages('leg'+tag,'leg'+tag+'a');
}

function choose_id(tag){
	location = "gallery.asp?group="+tag;
}

function over_id_H(tag){
	 changeImages('leg'+tag,'leg'+tag+'b');
}

function out_id_H(tag){
	changeImages('leg'+tag,'leg'+tag+'a');
}