// JavaScript Document


// register phone number
function showNumberText (divID) {
	document.getElementById(divID).className="phoneShow";
}

function hideNumberText (divID) {
	document.getElementById(divID).className="phoneHide";
}
// end function

function popPop(zeURL) {
	var n=window.open(zeURL,'popup','width=655,height=610,scrollbars=1,resizable=1');
	try {n.focus();} catch(e) {}
}

function showImg(zename,zew,zeh) {

	if ( typeof ze == "object") { 
		//close window if already open
		ze.close();
	}
	
	ze = window.open('','Image','resizable=yes,scrollbars=1,width='+zew+',height='+zeh);
	ze.focus();
	
	var zc;
	zc = '<html><head><title>Mini Babybel</title></head><body bgcolor="#FFFFFF" text="#000000" style="margin:0">';
	zc += '<img src="'+zename+'" border="0" width="'+zew+'" height="'+zeh+'">'
	zc += '</body></html>';

	ze.document.write(zc);
	ze.document.close();	
}

function showPop(url,features) {
	var zegenpop = MM_openBrWindow(url,'newpage',features);
	zegenpop.focus();
	//
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
	var zz;
	zz = window.open(theURL,winName,features);
	return zz;
}