'; h += '
';
h += ' Select all of the CSS text below and add to your CSS file or wrap in <style> tags in the pages you wish to use the menu in. '; h += ' | ';
h += '
'; h += ''; h += ' | '; h += '
';
h += ' Select all of the HTML text below and place in the pages you wish to use the menu in. '; h += ' | ';
h += '
'; h += ''; h += ' | '; h += '
';
cssWin.document.write(h);
cssWin.document.close();
cssWin.document.getElementById('tbcss').value=menuCSSText();
cssWin.document.getElementById('tbhtml').value=menuHTML();
return false;
}
function menuCSSText() {
var strCSS=cssvm.cssText().toLowerCase();
strCSS=strCSS.replace(/\r\n|\r|\n|\t/g, '');
strCSS=strCSS.replace(/\}/g,'}\n');
strCSS=strCSS.replace(/\s+\{\s+\}\s+/g,'');
strCSS=strCSS.replace(/\s+\{\}\s+/g,'');
if (isMSIE) {
strCSS = (isMSIE7) ? strCSS : strCSS.replace(/(\s)html/g,'* html');
strCSS=strCSS.replace(/\.lessthan/g,'>');
strCSS=strCSS.replace(/\s\.focus/g,':focus');
}
for (var i=0;i