/* OXYLUS Developement web framweork copyright (c) 2002-2005 OXYLUS Developement $Id: tabs.js,v 0.0.1 10/05/2005 20:38:15 Exp $ Note: tested in IE 5.0 , MOZILLA FIREFOX, OPERA contact: www.oxylus.ro devel@oxylus.ro office@oxyls.ro ALL THIS CODE IS THE PROPERTY OF OXYLUS DEVELOPEMENT. YOU CAN'T USE ANY OF THIS CODE WITHOUT A WRITTEN ACCORD BETWEEN YOU AND OXYLUS DEVELOPEMENT. ALL ILLEGAL USES OF CODE WILL BE TREATED ACCORDING THE LAWS FROM YOUR COUNTRY. THANK YOU FOR YOUR UNDERSTANDING. FOR MORE INFORMATION PLEASE CONTACT US AT: office@oxylus.ro */ function draw_tab(firstrow,active,last,afteractive,text,icon,link,width,onmouseover,onmouseout,id) { var img_active; var img_pre ; var img_after onmouseover = (onmouseover == "" ? "" : ' onmouseover="' + onmouseover + '" '); onmouseout = (onmouseout == "" ? "" : ' onmouseout="' + onmouseout + '" '); id = (id == "" ? "" : ' id="' + id + '" '); text = (link == "" ? text : '' + text + '' ) firstrow = (firstrow == true ? "" : "2"); if (icon != ""){ icon = icon ? '' : ''; text = "
" + icon + '' + text + '
'; } if (active) { img_active = "a"; img_pre = ""; text = text; } else { img_active = "i"; img_pre = afteractive ? "a" : ""; } var html= '' + '' + '' + text + '' + '' + ( last ? '' : "") //alert(html) document.write(html); } function draw_tab_table(part) { if (part == 1){ document.write( '' +' ' ); } else { document.write( '
' ); } }