function ConfirmMsg(msg) {
  document.MM_returnValue = confirm(msg);
}

var mess = new Array();

var adID = 'a1'; // put the ID from the div tag here to use with the close link

mess[1] = 'HTML for your first ad goes here';
mess[2] = 'HTML for your second ad goes here';


//var cls = '<hr \/><p align="center"><a href="#" onclick="showAd(\'' + adID +'\',0,0)" class="nl">Close<\/a><\/p>'; var max = mess.length; var num = Math.floor((Math.random() * max)); mess[0] = '<table border="0" width="100%"><tr><td align="center"><a href="test.cfm"><img src="felgall.gif" width="65" height="55" border="0" alt="Felgall Pty Ltd" \/><\/a><\/td><\/tr><\/table><p align="center">Do You have a question about Computers?<\/p><p align="center"><b>We can help.<\/b><\/p><p align="center"><a href="test2.cfm">Ask Felgall<\/a><br \/> for free computer help<\/p>';
//document.writeln(mess[num] + cls);

var hm = 0;var ns = 0;var ie = 0;var wc = 0;if (document.getElementById) {wc = 1; hm = 1;} else if (document.all) {ie = 1; hm = 1;} else { browserVersion = parseInt(navigator.appVersion); if ((navigator.appName.indexOf('Netscape') != -1)
&& (browserVersion == 4)) {ns = 1; hm = 1;}} function dm(oi,ws) {if (ws == 1) { if (wc) return (document.getElementById(oi).style); else if (ie) return (document.all[oi].style); else if (ns) return (document.layers[oi]);}
else {if (wc) return (document.getElementById(oi)); else if (ie) return (document.all[oi]); else if (ns) return (document.layers[oi]);}} function wd() {if (window.innerWidth != null) return window.innerWidth; if (document.body.clientWidth != null)
return document.body.clientWidth; return (null);} function showAd(oi,tm,al) {if (hm) {var wp = wd(); ds = dm(oi,1); dx = dm(oi,0); if (dx.offsetWidth) ew = dx.offsetWidth; else if (dx.clip.width) ew = dx.clip.width; st = ds.visibility;
if (st == "visible" || st == "show") ds.visibility = "hidden"; else {wp -= ew; if (al) wp /=2; else wp -= 10;if (!ns) wp += 'px';ds.left = wp; ds.visibility = "visible"; setTimeout("showAd('"+oi+"')",tm * 1000);}}}
