		function sd( id ) {
			farbe_aktuell = document.images["pimg" + id ].src;
			pos_jpg = document.images["pimg" + id ].src.indexOf( ".jpg" );
			pos_us = document.images["pimg" + id ].src.indexOf( "_" );

			if( pos_us != -1 )
				farb_id = document.images["pimg" + id ].src.substr( pos_us +1 , pos_jpg - pos_us-1 );
			else farb_id="";

			if( farb_id.indexOf( "_" ) > -1 )
				farb_id = farb_id.substr( farb_id.indexOf( "_" ) + 1 , farb_id.length - farb_id.indexOf( "_" ) - 1 );

			detailsWindow = window.open( "details.php?id=" + id + "&farb_id=" + farb_id ,"DetailWindow", "width=1000,height=1500,left=10,top=0" );
		}

		function ow( cat ) {
			detailsWindow = window.open( "produkte.php?cat=" + cat ,"Produktgalerie", "" );
		}

		function cc( id, number ) {

		color = eval( "document.forms['change_form'].color_" + id + ".options[document.forms['change_form'].color_" + id + ".selectedIndex].value" );;

			document.images['pimg' + id ].src = 'http://picture.co-fashion.de/' + number + '_' + color + '.jpg';
			document.getElementById("artNr_" + id ).innerHTML = "Artikel: " + number + "-" + color;
			pushObject(number, color);
		}

		function pushObject(number, color) {
			for (var i = 1; i <= 2000; i++) {
				var abc = "info_" + number + "_" + i;
				if (document.getElementById(abc) != null) {
					var thisObj = eval("document.getElementById('info_" + number + "_" + i +"').style");
					thisObj.zIndex = 1;
				}
			}

			var thisObj = eval("document.getElementById('info_" + number + "_" + color +"').style");
			thisObj.zIndex = 100;
		}

var message="Kein rechtsklick hier";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}


function dosearch() {

searchstr = document.forms["searchform"].searchstr.value;
//searchstr = unescape( encodeURIComponent( searchstr ) );
detailsWindow = window.open( "produkte.php?search=" + searchstr ,"Produktgalerie", "" );
return false;


}
//ü

