/***********************************************
* Tabbed Document Viewer script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
var selectedtablink = ""
var tcischecked = false


function handleview(){
	tcischecked = document.tabcontrol.tabcheck.checked
	if (document.getElementById && tcischecked){
		if (selectedtablink != "")
			window.location = selectedtablink
	}
}

/*
Textual Tooltip Script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
var content = new Array()

//change the array below to the text associated with your links Expand or contract the array, depending on how many links you have
content[0] = '<a href="template.jsp"><img src="images/main_FullService.jpg" class="HomeMainImage" alt="Full-Service Household Move" /></a>'
content[1] = '<a href="template.jsp"><img src="images/main_YouLoad.jpg" class="HomeMainImage" alt="You Load, We Drive Household Move" /></a>'
content[2] = '<a href="template.jsp"><img src="images/main_Corporate.jpg" class="HomeMainImage" alt="Corporate Household Move" /></a>'
content[3] = '<a href="template.jsp"><img src="images/main_SpecialProd.jpg" class="HomeMainImage" alt="Special Products Shipments" /></a>'
content[4] = '<a href="template.jsp"><img src="images/main_International.jpg" class="HomeMainImage" alt="International Services" /></a>'

function regenerate(){
	window.location.reload()
}

function regenerate2(){
	if (document.layers){
		appear()
		setTimeout("window.onresize=regenerate", 450)
	}
}

function changetext(whichcontent){
	if (document.all || document.getElementById){
		cross_el = document.getElementById? document.getElementById("descriptions"):document.all.descriptions
		cross_el.innerHTML = '' + whichcontent + ''
	}
	else if (document.layers){
		document.d1.document.d2.document.write(whichcontent)
		document.d1.document.d2.document.close()
	}
}

function appear(){
	document.d1.visibility = 'show'
}

window.onload = regenerate2
