function spamprotect(dom,k1,v1,or,k2,v2){
	var putogether = v1+v2+k1+k2+'@'+dom+'.'+or;
	document.writeln(putogether);
}

function clickable_box(lnk)	{
	document.location.href = "http://" + document.location.hostname + "/" + lnk;
}

function clickable_box_newwin(lnk)	{
	window.open(lnk);
}

function hover_box(lnk)	{
	var box_top = lnk+'_top';
	var box_mid = lnk+'_mid';
	var box_bot = lnk+'_bot';
	document.getElementById(box_top).className = 'itembox_top hover_top';
	document.getElementById(box_mid).className = 'itembox_mid hover_mid';
	document.getElementById(box_bot).className = 'itembox_bot hover_bot';
}

function normal_box(lnk)	{
	var box_top = lnk+'_top';
	var box_mid = lnk+'_mid';
	var box_bot = lnk+'_bot';
	document.getElementById(box_top).className = 'itembox_top normal_top';
	document.getElementById(box_mid).className = 'itembox_mid normal_mid';
	document.getElementById(box_bot).className = 'itembox_bot normal_bot';
}

function show_text(img_id,string)	{
	document.getElementById(img_id).style.cursor = "hand";
	document.getElementById(img_id).style.cursor = "pointer";
	var txt = document.getElementById('info_various');
	if ( string != txt) txt.innerHTML = string;
}

function menu_subitems(list)	{
	if ( list == '' ) document.getElementById('menu_secondlevel').innerHTML = '';
	else	{
		document.getElementById('menu_secondlevel').innerHTML = document.getElementById(list).innerHTML;
	}
}

function init_image_cache(url)	{
	pic1 = new Image(); 
	pic1.src = url + "/images/itembox_top_hover.png";
	pic2 = new Image(); 
	pic2.src = url + "/images/itembox_bottom_hover.png";
}

