// THis function is used to replace an image on mouse over
function changeImg(imgName,imgSrc) {
	document.images[imgName].src = imgSrc
}


// This function is used to change the URL 
function formHandler( url ){
	window.open(url); 
}


// this function is used to open a new window for displaying pictures
function openit(src,name,settings) {
		window.open(src,name,settings);
}

// this function is used to change the source of an iframe
function changeSrc(framId, url) {
   document.getElementById(framId).src = url;
}

// this function is used to open ifram source in a new window
function openSrcInNewWindow(framId) {
		src = document.getElementById(framId).src;
		openit(src ,'a800','width=800,height=600,scrollbars =yes, resizable=1')
}