var hometitle='Teaching Web Easy Professional 8 since 2010!';
var home='<div style="width:740px;padding-left:25px;padding-right:25px;">Welcome to the Procure Eminence website. This is the place where you can learn everything you need to know about Web Easy Professional 8 and more. New to Web Easy and/or web design? No problem, there are turorial videos for absolute beginners as well as advanced users. We even teach basic web-based programming languages to further enhance your site. This means you will be able to use all of Web Easy\s built-in applications and much more! The best part about these videos is the fact that they are free to watch! <br/><br/>Don\'t see a video tutorial that suits your needs? Simply submit your video idea using the comment form on our Contact page and we will begin working on it asap. Need help right away? <a href="http://www.softcity.com" target="_blank">SoftCity</a> provides free tech support via their online forum!</div>';

var videostitle='Video Tutorials';
var videos='<div id="VideoLinkContainer"><div id="BeginnerVideos"><div style="text-decoration:underline;text-align:center;width:240px;height:25px;">Beginner Videos</div><a href="http://youtu.be/Io1UKS9Edpc" target="_blank" class="LinkHover">Building a Website Part 1</a><br/><a href="http://youtu.be/2c0vQB8Fi80" target="_blank" class="LinkHover">Building a Website Part 2a</a><br/><a href="http://youtu.be/QxEIFPsAAJ8" target="_blank" class="LinkHover">Building a Website Part 2b</a><br/><a href="http://youtu.be/EWZcBCI7laI" target="_blank" class="LinkHover">Building a Website Part 3a</a><br/><a href="http://youtu.be/YxmsJn8Nfmg" target="_blank" class="LinkHover">Building a Website Part 3b</a><br/><a href="http://youtu.be/f66T7muMPXQ" target="_blank" class="LinkHover">Building a Website Part 4</a><br/><a href="http://youtu.be/RC8Xrqp_F2M" target="_blank" class="LinkHover">Building a Website Part 5</a><br/><a href="http://youtu.be/GFSkID-mlw4" target="_blank" class="LinkHover">Building a Website Part 6</a><br/><a href="http://youtu.be/evc6iO4DTJY" target="_blank" class="LinkHover">Building a Website Part 7</a></div>			<div id="AdvancedVideos"><div style="text-decoration:underline;text-align:center;width:240px;height:25px;">Advanced Videos</div><a href="http://youtu.be/yyH0vevwNmg" target="_blank" class="LinkHover">Advanced Form Submission 1</a><br/><a href="http://youtu.be/T9m1Pqk9-C4" target="_blank" class="LinkHover">Advanced Form Submission 2</a><br/><a href="http://youtu.be/9ak1_k61nz8" target="_blank" class="LinkHover">Adding a Drop Down Menu</a><br/><a href="http://youtu.be/aeIuu_WtWDE" target="_blank" class="LinkHover">Rollover Popup Image</a><br/><a href="http://youtu.be/SOhWV_6uiJE" target="_blank" class="LinkHover">Adding More Products</a><br/><a href="http://youtu.be/AHBbFYzRTEs" target="_blank" class="LinkHover">Adding RSS Feed</a><br/><a href="http://youtu.be/R_9IjcHBVF8" target="_blank" class="LinkHover">Picasa Photo Album</a><br/><a href="http://youtu.be/mxOtLZA1kOs" target="_blank" class="LinkHover">Google Analytics</a><br/><a href="http://youtu.be/6uUbu352UQo" target="_blank" class="LinkHover">Google Documents</a><br/><a href="http://youtu.be/S57Ih7Y1c30" target="_blank" class="LinkHover">Google Calander</a><br/><a href="http://youtu.be/2RZt-zS1bzQ" target="_blank" class="LinkHover">Facebook "Like" Button </a><div style="color:gray;">Google +1 Button (NA)</div><div style="color:gray;">Embedding Flash Objects (NA)</div><div style="color:gray;">FileZilla Setup (NA)</div><div style="color:gray;">Twitter Feed (NA)</div></div></div>';

var codestitle='Programming Code';
var codes='Some of our videos use custom codes in order to improve website functionality.<br/>Search for the desired code according to video title below.<br/><br/>Advanced Form Tutorial - <a href="http://www.procureeminence.com/downloadcontent/formmailer.zip" target="_blank">Form mailer script <span style="color:black;">(Download)</span></a>';

var resourcestitle='Free Resources';
var resources='All additional software used in our videos are open source meaning you don\'t have to buy anything.<br/>Follow the links below to get your free software.<br/><br/><a href="http://notepad-plus-plus.org/" target="_blank">Notepad++<span style="color:black;"> - Very powerful programming editor.</span></a><br/><a href="http://www.paint.net/" target="_blank">Paint.NET<span style="color:black;"> - Amazing substitute for Photoshop Elements.</span></a><br/><a href="http://www.filezilla-project.org" target="_blank">FileZilla<span style="color:black;"> - Super fast FTP client for transferring files to and from your server.</span></a><br/><a href="http://www.7-zip.org/" target="_blank">7-Zip<span style="color:black;"> - Great file compression substitute for WinZip.</span></a><br/><a href="http://www.skype.com/" target="_blank">Skype<span style="color:black;"> - Live chat program used for our tech support service.</span></a><br/><a href="http://w3schools.com/" target="_blank">W3Schools<span style="color:black;"> - Free tutorials for all web development technologies.</span></a><br/><a href="http://www.khanacademy.org/" target="_blank">Khan Academy<span style="color:black;"> - Video tutorials for just about everything relating to math and science.</span></a>';

var techsupporttitle='Tech Support';
var techsupport='Please visit the <a href="http://www.softcity.com" target="_blank">SoftCity</a> website for all your tech support needs.<br/>If you are having trouble with the PHP form mailer script please use our contact form for help.';

var contacttitle='Contact Us';
var contact='<div id="ContactForm" style="width:250px;margin-left:auto;margin-right:auto;text-align:left;"><form action="http://www.procureeminence.com/form.php" method="post" enctype="application/x-www-form-urlencoded">Name:<br/><input type="text" maxlength="40" autofocus="autofocus" id="Name" name="Name" style="width:248px;" class="Input"/><br/>Email:<br/><input type="text" maxlength="50" id="Addy" name="Addy" style="width:248px;" class="Input"/><br/>Comments:<br/> <textarea maxlength="300" style="width:248px;height:100px;" onkeydown="charactercount()" onkeyup="charactercount()" id="Comments" name="Comments" class="Input"></textarea><br/><input type="button" value="Submit" onclick="process()"/><span id="charactercountbox">300</span></form></div><br/>Please visit the <a href="http://www.softcity.com" target="_blank">SoftCity</a> website for all your tech support needs.<br/>If you are having trouble with the PHP form mailer script please use the contact form shown above.';

var adrefresh='<script type="text/javascript">google_ad_client="ca-pub-7791290886800706"; google_ad_slot="8709339630"; google_ad_width = 180; google_ad_height = 150;</script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>';

var donatethankyoutitle='Thank You!';
var donatethankyou='Your donation is greatly appreciated! <br/>Every donation goes toward our domain and email hosting expenses as well as membership database maintenance.';


function Page(selection){
	if(selection == 0){
		document.getElementById('ContentTitle').innerHTML=hometitle;
		document.getElementById('MainContent').innerHTML=home;
		//document.getElementById('Ads').innerHTML=adrefresh;
		}
	if(selection == 1){
		document.getElementById('ContentTitle').innerHTML=videostitle;
		document.getElementById('MainContent').innerHTML=videos;
		//document.getElementById('Ads').innerHTML=adrefresh;
		}
	if(selection == 2){
		document.getElementById('ContentTitle').innerHTML=codestitle;
		document.getElementById('MainContent').innerHTML=codes;
		//document.getElementById('Ads').innerHTML=adrefresh;
		}
	if(selection == 3){
		document.getElementById('ContentTitle').innerHTML=resourcestitle;
		document.getElementById('MainContent').innerHTML=resources;
		//document.getElementById('Ads').innerHTML=adrefresh;
		}
	if(selection == 4){
		document.getElementById('ContentTitle').innerHTML=techsupporttitle;
		document.getElementById('MainContent').innerHTML=techsupport;
		//document.getElementById('Ads').innerHTML=adrefresh;
		}
	if(selection == 5){
		document.getElementById('ContentTitle').innerHTML=contacttitle;
		document.getElementById('MainContent').innerHTML=contact;
		//Function below is run on patch.js to fix autofocus for Firefox browser
		AutoFocus('Contact');
		//document.getElementById('Ads').innerHTML=adrefresh;
		}
	if(selection == 6){
		document.getElementById('ContentTitle').innerHTML=donatethankyoutitle;
		document.getElementById('MainContent').innerHTML=donatethankyou;
		//document.getElementById('Ads').innerHTML=adrefresh;
		}
}
