<!--

msg = new Array
msg[0] = "Welcome to the Web Site of Internet Marketing Speaker and Consultant Ed Taylor"
msg[1] = "Return to our Home Page"
msg[2] = "Get your Free Report: \'5 Crucial Questions to Ask Before You Hire a Speaker on Any Internet Related Topic\'"
msg[3] = "The non-technical, easy to understand and very engaging Speaking Programs of Ed Taylor"
msg[4] = "View Streaming Video Clips of Ed Taylor, or Order his Demo Video"
msg[5] = "View our line of profitable Products"
msg[6] = "Click here to Order any of our Products"
msg[7] = "A Schedule of Ed Talyor\'s Speaking Engagements"
msg[8] = "Testimonials to Ed Taylor"
msg[9] = "Find out what the Press is saying about Ed Taylor"
msg[10] = "All the Information required for Event and Meeting Planners  ::  Coming Soon"
msg[11] = "The history of an Internet Marketing Wizard"
msg[12] = "Links to our Affilliates, Resources and Useful Information"
msg[13] = "Investment Opportunities for Qualified Investors"
msg[14] = "How you can become an Internet Marketing Speaker"
msg[15] = "Visit the Web site of The Internet Marketing Group"
msg[16] = "Please take the time to read our Leagal Notice"

var thetext = "";
var gotlayers = 0;
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
NS6 = (document.getElementById && !document.all) ? 1 : 0;

if (NS4 || IE4 || NS6) {
	gotlayers = 1;
}

function defStatus(n) {
	window.status = msg[n];
	setTimeout("showStatus()", 1);
	thetext = msg[n];  
}

function showStatus() {
	window.status = "      " + thetext;
}

function moveLayers() {
	if (gotlayers) {
		if (NS4) {
			document.layers['home'].left = 132;
			document.layers['home'].top = 182;
			document.layers['home2'].left = 132;
			document.layers['home2'].top = 189;
			document.layers['report'].left = 132;
			document.layers['report'].top  = 398;
			document.layers['speak'].left = 132;
			document.layers['speak'].top = 261;
			document.layers['demo'].left = 132;
			document.layers['demo'].top = 310;
			document.layers['schedule'].left = 132;
			document.layers['schedule'].top = 354;
			document.layers['comment'].left = 132;
			document.layers['comment'].top  = 217;
			document.layers['article'].left = 132;
			document.layers['article'].top = 442;
			document.layers['planners'].left = 132;
			document.layers['planners'].top = 486;
			document.layers['about'].left = 132;
			document.layers['about'].top = 535;
			document.layers['busiop'].left = 132;
			document.layers['busiop'].top = 579;
			document.layers['img'].left = 132;
			document.layers['img'].top = 623;
			document.layers['legal'].left = 132;
			document.layers['legal'].top = 672;
		} else if(IE4) {
			document.all['home'].style.pixelLeft = 132;
			document.all['home'].style.pixelTop = 187;
			document.all['home2'].style.pixelLeft = 132;
			document.all['home2'].style.pixelTop = 194;
			document.all['report'].style.pixelLeft = 132;
			document.all['report'].style.pixelTop = 403;
			document.all['speak'].style.pixelLeft = 132;
			document.all['speak'].style.pixelTop = 266;
			document.all['demo'].style.pixelLeft = 132;
			document.all['demo'].style.pixelTop = 315;
			document.all['schedule'].style.pixelLeft = 132;
			document.all['schedule'].style.pixelTop = 359;
			document.all['comment'].style.pixelLeft = 132;
			document.all['comment'].style.pixelTop = 222;
			document.all['article'].style.pixelLeft = 132;
			document.all['article'].style.pixelTop = 447;
			document.all['planners'].style.pixelLeft = 132;
			document.all['planners'].style.pixelTop = 491;
			document.all['about'].style.pixelLeft = 132;
			document.all['about'].style.pixelTop = 540;
			document.all['busiop'].style.pixelLeft = 132;
			document.all['busiop'].style.pixelTop = 584;
			document.all['img'].style.pixelLeft = 132;
			document.all['img'].style.pixelTop = 628;
			document.all['legal'].style.pixelLeft = 132;
			document.all['legal'].style.pixelTop = 677;
		} else {
			document.getElementById('home').style.left = 132 + "px";
			document.getElementById('home').style.top = 198 + "px";
			document.getElementById('home2').style.left = 132 + "px";
			document.getElementById('home2').style.top = 205 + "px";
			document.getElementById('report').style.left = 132 + "px";
			document.getElementById('report').style.top = 414 + "px";
			document.getElementById('speak').style.left = 132 + "px";
			document.getElementById('speak').style.top = 277 + "px";
			document.getElementById('demo').style.left = 132 + "px";
			document.getElementById('demo').style.top = 326 + "px";
			document.getElementById('schedule').style.left = 132 + "px";
			document.getElementById('schedule').style.top = 370 + "px";
			document.getElementById('comment').style.left = 132 + "px";
			document.getElementById('comment').style.top = 233 + "px";
			document.getElementById('article').style.left = 132 + "px";
			document.getElementById('article').style.top = 458 + "px";
			document.getElementById('planners').style.left = 132 + "px";
			document.getElementById('planners').style.top = 502 + "px";
			document.getElementById('about').style.left = 132 + "px";
			document.getElementById('about').style.top = 551 + "px";
			document.getElementById('busiop').style.left = 132 + "px";
			document.getElementById('busiop').style.top = 595 + "px";
			document.getElementById('img').style.left = 132 + "px";
			document.getElementById('img').style.top = 639 + "px";
			document.getElementById('legal').style.left = 132 + "px";
			document.getElementById('legal').style.top = 688 + "px";
		}
	}
}

function show(mySection,on,n) {
	if (gotlayers) {
		if (on) {

			if (NS4) {
				document.layers[mySection].visibility = "show";
			} else if (IE4) {
				document.all[mySection].style.visibility = "visible";
			} else {
				document.getElementById(mySection).style.visibility = "visible";
			}
		} else {
			if (NS4) {
				document.layers[mySection].visibility = "hide";
			} else if (IE4) {
				document.all[mySection].style.visibility = "hidden";
			} else {
				document.getElementById(mySection).style.visibility = "hidden";
			}
		}
	}
}

function hide(mySection) {
	if (gotlayers) {
		if (NS4) {
			document.layers[mySection].visibility = "hide";
			} else if (IE4) {
				document.all[mySection].style.visibility = "hidden";
			} else {
				document.getElementById(mySection).style.visibility = "hidden";
		}
	}
}

function printit(){  
if (window.print) {
    window.print() ;  
} else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box
	WebBrowser1.outerHTML = "";  
}
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//-->

