<!--//


function banner1_125x125() {

	fbI = new Array(
	"images/halchem_125x125.gif"
	);
	
	fbL = new Array(
	"http://www.halchem.com/"
	);
	
	fbT = new Array(
	"_blank"
	);
	
	fbA = new Array(
	"Supplier of Raw Materials for Food/ Pharma/ Nutritional Suppliments, Industrial/ Institutional/ Household/ Personal Care"
	)

	ix = fbI.length - 1 ; //number of objects
	i = Math.round(ix*Math.random());

	document.write("<a href='"+fbL[i]+"' target='"+fbT[i]+"'><img src='"+fbI[i]+"' width='125' height='125' border='0'></a><br><img src='images/spacer.gif' width=1 height=8><br>");
}

//banner 300x250
function banner1_300x250() {

	fbI = new Array(
	"/images/asppi_11th_convention_300x250.jpg"
	);
	
	fbL = new Array(
	"http://www.asppi.org.ph/forum/viewtopic.php?f=2&t=239&start=0#p737"
	);
	
	fbT = new Array(
	"_self"
	);
	
	fbA = new Array(
	"11th OSH National Assembly and Annual Convention - August 26-27, 2010 Bacolod City | asppi.org.ph"
	)

	ix = fbI.length - 1 ; //number of objects
	i = Math.round(ix*Math.random());

	document.write("<a href='"+fbL[i]+"' target='"+fbT[i]+"'><img src='"+fbI[i]+"' width='300' height='250' border='0'></a>");
}

//banner 300x250
function banner2_300x250() {

	fbI = new Array(
	"/images/osh11_300x250.jpg"
	);
	
	fbL = new Array(
	"view_gallery.php?gid=9#base"
	);
	
	fbT = new Array(
	"_self"
	);
	
	fbA = new Array(
	"11th Occupational Safety and Health Symposium - December 4, 2009 | asppi.org.ph"
	)

	ix = fbI.length - 1 ; //number of objects
	i = Math.round(ix*Math.random());

	document.write("<a href='"+fbL[i]+"' target='"+fbT[i]+"'><img src='"+fbI[i]+"' width='300' height='250' border='0'></a>");
}

//full banner ad (468x60
function showBanner468x60() {
	fbI = new Array(
	"http://www.domains.ph/banners/domain-was-taken-owl.gif"
	);

	fbL = new Array(
	"http://www.domains.ph/default.asp?Referrer=domains@onlineservant.net"
	);
	
	fbT = new Array(
	"_blank"
	);
	
	fbA = new Array(
	"Register for a .PH Domain Name now before someone else does!"
	);
	
	ix = fbI.length - 1 ; //number of objects
	i = Math.round(ix*Math.random());
	
	//if flash
	if(fbL[i]=="flash") {
		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="468" HEIGHT="60" id="myMovieName"><PARAM NAME=movie VALUE="'+fbI[i]+'"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="'+fbI[i]+'" quality=high bgcolor=#FFFFFF WIDTH="468" HEIGHT="60" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');
	
	//if gif
	} else {
		document.write("<center><a href='"+fbL[i]+"' target='"+fbT[i]+"'><img src='"+fbI[i]+"' alt='"+fbA[i]+"' width='468' height='60' border='0'></a></center>");
	}
	
	
}

//full banner ad 728x90
function showBanner728x90() {
	fbI = new Array(
	"http://www.domains.ph/banners/domain-was-taken-owl.gif"
	);

	fbL = new Array(
	"http://www.domains.ph/default.asp?Referrer=domains@onlineservant.net"
	);
	
	fbT = new Array(
	"_blank"
	);
	
	fbA = new Array(
	"Register for a .PH Domain Name now before someone else does!"
	);
	
	ix = fbI.length - 1 ; //number of objects
	i = Math.round(ix*Math.random());
	
	//if flash
	if(fbL[i]=="flash") {
		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="468" HEIGHT="60" id="myMovieName"><PARAM NAME=movie VALUE="'+fbI[i]+'"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="'+fbI[i]+'" quality=high bgcolor=#FFFFFF WIDTH="468" HEIGHT="60" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');
	
	//if gif
	} else {
		document.write("<a href='"+fbL[i]+"' target='"+fbT[i]+"'><img src='"+fbI[i]+"' alt='"+fbA[i]+"' width='728' height='90' border='0'></a>");
	}
	
	
}

//-->
