/*
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]='<h4>1 Box - Fixed</h4><br>Single box with fixed width. Click image to view in a new browser.'
content[1]='<h4>2 Box - Fixed</h4><br>Two boxes with fixed widths. Click image to view in a new browser.'
content[2]='<h4>3 Box - Fixed</h4><br>Three boxes with fixed widths. Click image to view in a new browser.'
content[3]='<h4>4 Box - Fixed</h4><br>Four boxes with fixed widths. Click image to view in a new browser.'
content[4]='<h4>1 Box - Centered</h4><br>Single box with fixed width centered on screen. Click image to view in a new browser.'
content[5]='<h4>2 Box - Centered</h4><br>Two boxes with fixed widths centered on screen. Click image to view in a new browser.'
content[6]='<h4>3 Box - Centered</h4><br>Three boxes with fixed widths centered on screen. Click image to view in a new browser.'
content[7]='<h4>4 Box - Centered</h4><br>Four boxes with fixed widths centered on screen. Click image to view in a new browser.'
content[8]='<h4>1 Box - Fluid</h4><br>Single box with fluid width. Click image to view in a new browser.'
content[9]='<h4>2 Box - Fluid</h4><br>Two boxes with fixed widths. Click image to view in a new browser.'
content[10]='<h4>3 Box - Fluid</h4><br>Three boxes with fixed width side boxes and fluid center box. Click image to view in a new browser.'
content[11]='<h4>4 Box - Fluid</h4><br>Four boxes with fixed width side boxes and fluid center and header. Click image to view in a new browser.'

content[99]='The following CSS template cheats have been tested in all browsers and provide an excellent starting point for a wide range of CSS layouts. To view demos of the CSS templates, click on an image to open the layout in a new window. <br/><br/><b>To download</b>, click the &quot;View Source&quot; link at the top of each template - Enjoy! - Enjoy!'

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='<p>'+whichcontent+'</p>'
}
else if (document.layers){
document.d1.document.d2.document.write('<p>'+whichcontent+'</p>')
document.d1.document.d2.document.close()
}

}

function appear(){
document.d1.visibility='show'
}

window.onload=regenerate2