// ---------------------------------------------------------------------------
// wyojs_flipImage - rotates the image to the mouse over state. 
//                   assumes the image is jpg and the over image is "*-over.jpg"
// ---------------------------------------------------------------------------
function wyojs_flipImage(img) {
	if(img)
	{
		if(img.src.indexOf("-over.jpg")>0) img.src = img.src.replace(/-over.jpg/,".jpg");
		else img.src = img.src.replace(/.jpg/,"-over.jpg");
	}
	return true;
}
