var agent = navigator.userAgent;
//alert(agent);
// special styles for FF <2 on mac =====================================
if ((agent.indexOf("Firefox/1.")>-1)&&(agent.indexOf("Macintosh")>-1)) {
	document.write('<style type="text/css">');
		document.write('.clear{height: 1px;}');
	document.write('</style>');
}
// ======================================================================

// special styles for Safari on mac =====================================
/*if ((agent.indexOf("Safari")>-1)&&(agent.indexOf("Macintosh")>-1)) {
	document.write('<style type="text/css">');
		document.write('#search_site .textfield{width: 107px;}');
		document.write('#search_site .custom_btn input{padding: 1px 0;}');
		document.write('#newsletter .mask{height: 14px; overflow: hidden;}');
		document.write('#products_table .price_quantity_row .qty input{width: 15px;}');
		document.write('#products_table .price_quantity_row .shades img{margin-top: 1px;}');
	document.write('</style>');
}*/
// ======================================================================

// special styles for Netscape ==========================================
if (agent.indexOf("Netscape")>-1) {
	document.write('<style type="text/css">');
		document.write('.clear{height: 1px;}');
	document.write('</style>');
}
// ======================================================================