function pop_up_custom(page, width, height, sx, sy, left, top, status, mbar, sbar, resize, tbar, loc) {
	options  = 'width='+width+',height='+height+',screenX='+sx+',screenY='+sy+',left='+left+',top='+top;
	options += ',status='+status+',menubar='+mbar+',scrollbars='+sbar+',resizable='+resize+',toolbar='+tbar+',location='+loc;
	unique = new Date();
	unique = unique.getSeconds()+"_"+unique.getMinutes()+"_"+unique.getHours();
	newWin = window.open(page, unique, options);
	newWin.focus();
	return false;
}

function pop_up_max(page) {
	return pop_up_custom(page, (screen.availWidth - 10).toString(), (screen.availHeight - 122).toString(), 0, 0, 0, 0, 1, 1, 1, 1, 1, 1);
}

function open_up(page) {
	window.location.href=page;
	return false;
}
function show_div(id) {
	if (document.getElementById) {
		obj = document.getElementById(id);
		if (obj) {
			obj.style.display = ""
		}
	}
	return false;
}
function showHowTo(adID)
{
	if ( document.getElementById(adID+'_howtodata').style.display != "block" )
	{
		document.getElementById(adID+'_howtodata').style.display = "block";
		document.getElementById(adID+'_howtodata_arrow').src = "/gfx/howto/arrow_down.gif";
	}
	else
	{
		document.getElementById(adID+'_howtodata').style.display = "none";
		document.getElementById(adID+'_howtodata_arrow').src = "/gfx/howto/arrow_right.gif";
	}
	return false;
}
