function nav(){
	document.write("<a href='introduction.htm'><img class='logo' src='introduction.gif'></a>");
	document.write("<a href='latestwork.htm'><img class='logo' src='latestwork.gif'></a>");
	document.write("<a href='creativeprocess.htm'><img class='logo' src='creativeprocess.gif'></a>");
	document.write("<a href='inquire.htm'><img class='logo' src='inquire.gif'></a>");
}

function banner() {
	document.write("<div id='banner1' style='display: none; z-index:6; background-color: #000000;'><a href='http://www.noizitalia.com' target='_blank'><img src='banner/image0.jpg' alt='NOIZ'/></a></div>");
	document.write("<div id='banner2' style='display: none; z-index:5; background-color: #000000;'><a href='http://www.soundmancaraudio.com' target='_blank'><img src='banner/image2.jpg' alt='SoundMan Car Audio'/></a></div>");
	document.write("<div id='banner3' style='display: none; z-index:4; background-color: #000000;'><a href='http://www.ducaticommunity.com'><img src='banner/image1.jpg' alt='Ducati Community'/></a></div>");
	document.write("<div id='banner4' style='display: none; z-index:3; background-color: #000000;'><a href='http://www.valenciatimecenter.com' target='_blank'><img src='banner/image3.jpg' alt='Valencia Time Center'/></a></div>");
	document.write("<div id='banner5' style='display: none; z-index:2; background-color: #000000;'><a href='http://www.sacredsaint.com' target='_blank'><img src='banner/image5.jpg' alt='Brandon Notch'/></a></div>");
	document.write("<div id='banner6' style='display: none; z-index:1; background-color: #000000;'><a href='http://www.proitalia.com' target='_blank'><img src='banner/image6.jpg' alt='Pro Italia'/></a></div>");
}

function interests1() {
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'><a class='interestslink' href='http://www.wired.com/gadgetlab/2010/04/how-apple-designed-the-ipad-out-in-the-open/' target='_blank'>How Apple Designed The iPad Out In The Open</a></div></div><div class='tablerow'><div class='tablecell'><p class='interestsdates'>April 15th, 2010<p></div></div><div class='tablerow'><div class='tablecell'><hr></div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'><a class='interestslink' href='http://gizmodo.com/5513121/the-hidden-secrets-of-iphone-os-4/gallery/' target='_blank'>Take A Look At The Underlying Secrets In The Anticipated iPhone OS 4.0 Release In June</a></div></div><div class='tablerow'><div class='tablecell'><p class='interestsdates'>April 13th, 2010<p></div></div><div class='tablerow'><div class='tablecell'><hr></div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'><a class='interestslink' href='http://howto.wired.com/wiki/Make_Your_Facebook_Account_Private' target='_blank'>Learn How To Make Your Facebook Account Completely Private</a></div></div><div class='tablerow'><div class='tablecell'><p class='interestsdates'>April 12th, 2010<p></div></div><div class='tablerow'><div class='tablecell'><hr></div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'><a class='interestslink' href='http://www.tuaw.com/2010/04/11/a-first-week-with-the-ipad/' target='_blank'>Take A Look At TUAW's Week Long Analysis With The iPad</a></div></div><div class='tablerow'><div class='tablecell'><p class='interestsdates'>April 11th, 2010<p></div></div><div class='tablerow'><div class='tablecell'><hr></div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'><a class='interestslink' href='http://www.macrumors.com/2010/04/09/fallout-from-apples-exclusion-of-flash-to-iphone-export-continues/' target='_blank'>Fallout From Apple's Exclusion of Flash-to-iPhone Export Continues</a></div></div><div class='tablerow'><div class='tablecell'><p class='interestsdates'>April 9th, 2010<p></div></div><div class='tablerow'><div class='tablecell'><hr></div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
	document.write("<div class='facts'>&nbsp;</div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'><p class='factsdetail'><img src='apple.gif' align='left'>We only work with Apple computers. Over the last few years, Apple has been very active in helping to reduce its overall footprint and create eco-friendly computers.</p></div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'><p class='factsdetail'><img src='browser.gif' align='left'>The code we produce is tested across all popular browsers for compatibility on both Apple and Windows OS's.</p></div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'><p class='factsdetail'><img src='calendar.gif' align='left'>We always finish our projects on time, on budget while delivering a timeless brand for our customers.</p></div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
	document.write("<div class='table'><div class='tablerow'><div class='tablecell'>&nbsp;</div></div></div>");
}

function interests() {
	$("#interests").load("rss.php");
}

function tfooter() {
	document.write("<div id='fancyClock'></div>");
}

function bottom() {
	var d = new Date();

	document.write("<div class='table'><div class='tablerow'>");
	document.write("<div class='tablecell'>");
	document.write("<p class='bottomcontents'><font class='bottomheader'>Site</font><br>");
	document.write("<a href='introduction.htm' class='bottomlink'>Introduction</a><br>");
	document.write("<a href='latestwork.htm' class='bottomlink'>Latest Work</a><br>");
	document.write("<a href='creativeprocess.htm' class='bottomlink'>Creative Process</a><br>");
	document.write("<a href='inquire.htm' class='bottomlink'>Inquire</a></p>");
	document.write("</div>");
	document.write("<div class='tablecell'>");
	document.write("<p class='bottomcontents'><font class='bottomheader'>Links</font><br>");
	document.write("<a href='http://www.apple.com' target='_blank' class='bottomlink'>Apple</a><br>");
	document.write("<a href='http://www.wired.com' target='_blank' class='bottomlink'>Wired</a><br>");
	document.write("<a href='http://www.tuaw.com' target='_blank' class='bottomlink'>TUAW</a><br>");
	document.write("<a href='http://www.engadget.com' target='_blank' class='bottomlink'>Engadget</a><br>");
	document.write("<a href='http://www.macrumors.com' target='_blank' class='bottomlink'>Mac Rumors</a></p>");
	document.write("</div>");
	document.write("<div class='tablecell'>");
	document.write("<p class='bottomcontents'><font class='bottomheader'>Inquire</font><br>");
	document.write("<a class='bottomlink' href='&#x6d;&#97;&#x69;&#000108;&#116;&#x6f;&#00058;&#x69;&#000110;&#000102;&#x6f;&#x40;&#x79;&#x6f;&#x75;&#000114;&#x64;&#x69;&#x67;&#x69;&#x74;&#x61;&#x6c;&#x69;&#110;&#x6b;&#x2e;&#00099;&#x6f;&#x6d;'>&#000105;&#x6e;&#x66;&#x6f;&#64;&#000121;&#111;&#x75;&#000114;&#000100;&#105;&#000103;&#x69;&#x74;&#x61;&#x6c;&#105;&#x6e;&#107;&#00046;&#x63;&#000111;&#000109;</a><br>");
	document.write("661.993.5000</p>");
	document.write("</div>");
	document.write("</div></div>");
	document.write("<div class='table'><div class='tablerow'><p class='copyright'><br>Copyright &copy; "+d.getFullYear()+" YOURDIGITALINK, All rights reserved. Powered by <a href='http://www.apple.com' target='_blank' class='bottomlinkapple'>Apple</a>.</p></div>");
	document.write("</div></div>");
}
 
function inquire() {
	var name = window.document.getElementById("name").value;
	var bname = window.document.getElementById("bname").value;
	var email = window.document.getElementById("email").value;
	var comments = window.document.getElementById("comments").value;
	var message = escape("Name: "+name+"\r\n"+"Business Name: "+bname+"\r\n"+"Email: "+email+"\r\n"+"Comments: "+comments+"\r\n");

	var tym = window.document.getElementById("ty");
	tym.innerHTML = "<p><font style='color: grey;'>Submitting Request...</font></p>";

	o.load("email.php?message="+message, function() {
		ty();
	});
}

function loadClients(i) {
	o.load("clients.php?page="+i);
}

function ty() {
	var name = window.document.getElementById("name");
	var bname = window.document.getElementById("bname");
	var email = window.document.getElementById("email");
	var comments = window.document.getElementById("comments");
	var ty = window.document.getElementById("ty");
	
	name.value = "* Your Name";
	bname.value = "* Business Name";
	email.value = "* Your Email";
	comments.value = "* Comments or Questions";

	ty.innerHTML = "<p><font style='color: red;'>Thank You!</font></p>";
}

$(document).ready(function(){
	/* This code is executed after the DOM has been completely loaded */

	$('#fancyClock').tzineClock();

});
