/* Start LastModified */


function showLastModified() {
var out = document.getElementById('lastModified');
var d = new Date();
if (d.toLocaleDateString) {
out.innerHTML = d.toLocaleDateString(document.lastModified);
}
else {
out.innerHTML = document.lastModified;
}
}

window.onload = showLastModified;

/* End LastModified */

/* Start Book Mark */

	function bookmarksite (title, url){

	if (window.sidebar) /*  firefox */
	{window.sidebar.addPanel(title, url, "");
	}
	else if (window.opera && window.print){ /* opera */
	var elem = document.createElement('a');
	elem.setAttribute('href', url);
	elem.setAttribute('title', title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
	else if (document.all) /* ie */
	{
	window.external.AddFavorite(url, title);
	}


/* End BookMark */	

/* Start Page Opening */	
function pageloadingmsg()
{
	document.write("<div align='center' id='loading'><table border='0' align='center' bgcolor='#000000'><tr><td align='center' valign='top'><font face='Verdana,Geneva,Arial,Helvetica,sans-serif' size='1' color='#FFFFFF'><i><nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Page Loading - Please wait&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</nobr></i></font></td></tr></table></div>");
window.onload=function(){
	document.getElementById("loading").style.display="none";
};
}
/* End Page Opening */


/* Start Scrolling Message */

var msg="Stretch Mk1 Anywhere in the world - - - "; 
    var speed=450;

    function ScrollTitle() {
        document.title=msg;
        msg=msg.substring(1,msg.length)+msg.charAt(0);
        setTimeout("ScrollTitle()",speed);
    }
    ScrollTitle();
	
/* End Scrolling Message */
	
/* Start Note */	

var ie = false;
	var lastNote = '';
	if (document.all) { ie = true; }

	function getObj(id) {
		if (ie) {
			return document.all[id];
		} else {
			return document.getElementById(id);
		}
	}

	function showNote(name) {
		if (name == lastNote) {
			hideNote(name);
			return;
		}

		if (lastNote != '') { hideNote(lastNote); }
		var title = getObj(name + '_title');
		var body = getObj(name + '_body');
		//title.className = 'notehidden';
		body.className = 'notevisible';
		lastNote = name;
	}

	function hideNote(name) {
		var title = getObj(name + '_title');
		var body = getObj(name + '_body');
		//title.className = 'note';
		body.className = 'notehidden';
		lastNote = '';
	};
	
	/* End Note */
	
	/* ////  START BUTTONS //// */
	
spec1=new Image();	
spec1.src="../images/buttons/spec2.gif";
spec2=new Image();
spec2.src="../images/buttons/spec1.gif";	
	
c1=new Image();	
c1.src="../images/buttons/contact.jpg";
c2=new Image();
c2.src="../images/buttons/contact2.jpg";

h3=new Image();
h3.src="../images/buttons/home3.gif";
h1=new Image();
h1.src="../images/buttons/home.gif";
h2=new Image();
h2.src="../images/buttons/home2.gif";
	
fwd3=new Image();
fwd3.src="../images/buttons/rightar3.gif";
fwd1=new Image();
fwd1.src="../images/buttons/rightar1.gif";
fwd2=new Image();
fwd2.src="../images/buttons/rightar2.gif";
	
back3=new Image();
back3.src="../images/buttons/lftarr3.gif";
back1=new Image();
back1.src="../images/buttons/lftarr1.gif";
back2=new Image();
back2.src="../images/buttons/lftarr2.gif";
	
pic1=new Image();	
pic1.src="../colombia/bogota2006/pic1.gif";
pic2=new Image();
pic2.src="../colombia/bogota2006/pic2.gif";

camera1=new Image();
camera1.src="../images/buttons/camera2.gif";
camera2=new Image();
camera2.src="../images/buttons/camera.gif";

email1=new Image();
email1.src="../images/buttons/emailn.jpg";
email2=new Image();
email2.src="../images/buttons/email.jpg";

close1=new Image();
close1.src="../images/buttons/closen.jpg";
close2=new Image();
close2.src="../images/buttons/close.jpg";

fullpro1=new Image();
fullpro1.src="../images/buttons/fullpro2.jpg";
fullpro2=new Image();
fullpro2.src="../images/buttons/fullprod.jpg";

segment1=new Image();
segment1.src="../images/buttons/segmentn.jpg";
segment2=new Image();
segment2.src="../images/buttons/segment.jpg";

other1=new Image();
other1.src="../images/buttons/otheracn.jpg";
other2=new Image();
other2.src="../images/buttons/otheract.jpg";

num11=new Image();
num11.src="../images/buttons/1g.jpg";
num12=new Image();
num12.src="../images/buttons/1.jpg";

num21=new Image();
num21.src="../images/buttons/2g.jpg";
num22=new Image();
num22.src="../images/buttons/2.jpg";

num31=new Image();
num31.src="../images/buttons/3g.jpg";
num32=new Image();
num32.src="../images/buttons/3.jpg";

num41=new Image();
num41.src="../images/buttons/4g.jpg";
num42=new Image();
num42.src="../images/buttons/4.jpg";

num51=new Image();
num51.src="../images/buttons/5g.jpg";
num52=new Image();
num52.src="../images/buttons/5.jpg";

experiment1=new Image();
experiment1.src="../images/buttons/xprmnt2.gif";
experiment2=new Image();
experiment2.src="../images/buttons/xprmnt.gif";

wotnots1=new Image();
wotnots1.src="../wotnots/wotnots2.gif";
wotnots2=new Image();
wotnots2.src="../wotnots/wotnotss.gif";

techome1=new Image();
techome1.src="../images/buttons/techom2.jpg";
techome2=new Image();
techome2.src="../images/buttons/techome.jpg";

bbox1=new Image();
bbox1.src="../chunkies/chunktec/itsloudn.gif";
bbox2=new Image();
bbox2.src="../chunkies/chunktec/itsloud.gif";

top1=new Image();
top1.src="../images/buttons/up2.gif";
top2=new Image();
top2.src="../images/buttons/up.gif";

index1=new Image();
index1.src="../images/buttons/mainindn.jpg";
index2=new Image();
index2.src="../images/buttons/mainindx.jpg";	

	/* END BUTTONS */
}