// This is the function that will open the
// new window when the mouse is moved over the link
function open_new_window(imgFile, lHeight, lWidth) 
{

var aString='<img border="1" width="'+lWidth+'" height="'+lHeight+'" src="'+imgFile+'" >';

new_window = open("","hoverwindow","width=300,height=200,left=10,top=10");

// open new document 
new_window.document.open();

// Text of the new document
// Replace your " with ' or \" or your document.write statements will fail
new_window.document.write("<html><title>JavaScript New Window</title>");
new_window.document.write("<body bgcolor=\"#FFFFFF\">");
new_window.document.write(aString);
new_window.document.write("<br>");
new_window.document.write("</body></html>");

// close the document
//new_window.document.close(); 
}

// This is the function that will close the
// new window when the mouse is moved off the link
function close_window() 
{
new_window.close();
}


//Roberto Test open new windo on click


function MM_openBrWindow(theURL,winName,features)
 { 
  window.open(theURL,winName,features);
 }


function movepic(img_name,img_src) 
{
document[img_name].src=img_src;
}


function changeCursor(el, cursor)
{
el.style.cursor = cursor;
}

function popitup(aUrl,aName,aHeight,aWidth) {
	var aString = 'height='+aHeight+',width='+aWidth+',scrollbars=no,resizable=yes,menubar=no';
	
	newwindow=window.open(aUrl,aName,aString);
	
	if (window.focus) {newwindow.focus()}
	return false;
}

