var helpI = new Image();
var helpA = new Image();
helpI.src = "/images/common/help_i.gif";
helpA.src = "/images/common/help_a.gif";

var goI = new Image();
var goA = new Image();
goI.src = "/images/common/go_i.gif";
goA.src = "/images/common/go_a.gif";


function noFunc(){;}

function statusMsg(msg){
  window.status = msg;
}

function openWindow(src, target, width, height, toolbar, menubar, status, scrollbars, resizable){
	if (width.length > 0) properties = "width=" + width;
	if (height.length > 0) {
		if(properties.length > 0) properties+=",";
		properties += "height=" + height;
	}
	if (toolbar.length > 0) {
		if(properties.length > 0) properties+=",";
		properties += "toolbar=" + toolbar;
	}
	if (menubar.length > 0) {
		if(properties.length > 0) properties+=",";
		properties += "menubar=" + menubar;
	}
	if (status.length > 0) {
		if(properties.length > 0) properties+=",";
		properties += "status=" + status;
	}
	if (scrollbars.length > 0) {
		if(properties.length > 0) properties+=",";
		properties += "scrollbars=" + scrollbars;
	}
	if (resizable.length > 0) {
		if(properties.length > 0) properties+=",";
		properties += "resizable=" + resizable;
	}
	newWindow = window.open(src, target, properties);
} 

function flipImage(obj, objName)
{ 
	if (document.images){ 	
	obj.src = eval(objName + ".src");
	}
}