// Rollover Functions Copyright (C) 2001 by Claude Almer // Calmer Software Services Pty. Ltd. // http://www.calmer.com/ // // // Conditions of use: // // Free of charge, subject to email permission request to rollover@calmer.com // (which will always be granted) and this notice being left in tact. // // Modifications and improvements: // // When modifying code, please forward a copy to rollover@calmer.com // If there's a MAJOR improvement, all registered users will be notified // by email // // // Enjoy. // Cheers, Claude. function rollOn() { var e; e = window.event.srcElement; if (e.tagName != "BODY") { while ((e.id.length == 0) && (e.parentElement.tagName != "BODY")) { e = e.parentElement ; } switch ( e.id ) { case 'ReadItLeft': { e.style.backgroundColor = "#D9FDE6"; e.style.borderTop = "#8BABA2 1px solid"; e.style.borderLeft = "#8BABA2 1px solid"; e.style.borderBottom = "#8BABA2 3px solid"; e.style.borderRight = "#8BABA2 3px solid"; return true ; } case 'ReadItRight': { e.style.backgroundColor = "#D9FDE6"; e.style.borderRight = "#8BABA2 1px solid"; e.style.borderTop = "#8BABA2 1px solid"; e.style.borderBottom = "#8BABA2 3px solid"; e.style.borderLeft = "#8BABA2 3px solid"; return true ; } case 'Special': { e.style.border = "red 4px solid"; e.style.backgroundColor = "#D9FDE6"; return true ; } } } } function rollOff() { var e; e = window.event.srcElement; if (e.tagName != "BODY") { while ((e.id.length == 0) && (e.parentElement.tagName != "BODY")) { e = e.parentElement ; } switch ( e.id ) { case 'ReadItLeft' : { e.style.backgroundColor = "white"; e.style.borderLeft = "white 1px solid"; e.style.borderTop = "white 1px solid"; e.style.borderBottom = "white 3px solid"; e.style.borderRight = "white 3px solid"; return true ; } case 'ReadItRight' : { e.style.backgroundColor = "white"; e.style.borderRight = "white 1px solid"; e.style.borderTop = "white 1px solid"; e.style.borderBottom = "white 3px solid"; e.style.borderLeft = "white 3px solid"; return true ; } case 'Special': { e.style.backgroundColor = "white"; e.style.border = "white 4px solid"; return true ; } } } } document.onmouseover = rollOn; document.onmouseout = rollOff; // non-rollover related stuff... for(var i=0;i<=(document.links.length-1);i++){document.links[i].title=document.links[i].innerText+"\n\n"+ document.links[i].href;if((document.links[i].href.indexOf('wopr.com')==-1)&&(document.links[i].href.indexOf('woodyswatch.com')==-1)){document.links[i].target="_blank";}} window.defaultStatus = "Koz Insaat - Ankara / Turkiye" function ReadLatest ( sStr ) { window.status = "Click here to view the latest issue of Woody's " + sStr ; return true ; } function ReadMore ( sStr ) { window.status = "Click here to read more about Woody's " + sStr ; return true ; } function Info ( sStr ) { window.status = "Click here to " + sStr ; return true ; } function Recommended ( sStr ) { window.status = "Recommended by " + sStr ; return true ; } function View ( sStr ) { window.status = "Click here to view " + sStr ; return true ; } function Book ( ) { window.status = "Click here to view details of this book" ; return true ; }