// JavaScript Document

<!-- 

function mouseOver(protitle)
{
	var prot = "<h3>";
	    prot += protitle;
		prot += "&nbsp;</h3>";
	document.getElementById("projectTitle").innerHTML = prot ;
	
}
function mainImgSwap(img)
{
	alert(img);
}
function mouseOut()
{
	document.getElementById("projectTitle").innerHTML ="";
}


function projectimage(proimage,width,height,oImg,place)
{
	var proi = proimage;
	document.picBox1.src = proi;
	if(width>588)
		width=588;
	if(height>350)
		height=350;
  //code to change mouse over image
   var strOver  = "_on"    // image to be used with mouse over
   var strOff = "_off"     // normal image
   var strImg = oImg.src
   var plc = place
   if (strImg.indexOf(strOver) != -1) 
      oImg.src = strImg.replace(strOver,strOff)
   else
      oImg.src = strImg.replace(strOff,strOver)
   mouseOver(plc)
   //setTimeout("resize("+width+","+height+")",1500);
	document.picBox1.width = width;
	document.picBox1.height = height;
}

function resize(width,height)
{
	document.picBox1.width = width;
	document.picBox1.height = height;
}

function projectimage_project(proimage,width,height)
{
	var proi = proimage;
	document.picBox1.src = proi;
	if(width>588)
		width=588;
	if(height>350)
		height=350;
 	document.picBox1.width = width;
	document.picBox1.height = height;
}

//open printable window
function print_win(printurl)
{

var winwid = 404
var winhei = 512

var url = printurl
var newwindow = "_blank"
var str = "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=yes, width=" + winwid + ", height=" + winhei + ", top=0, left=0"
window.open(url,newwindow,str)

}

-->