
											// HUI-HUI JAVASCRIPTE //
											
function huihuistart()
		{
		win_huihuistart = window.open("kollektionen/kollektion7/huihui-winter0607.htm", "hui hui fashion | welcome","width=990,height=680,resizable=yes,scrollbars=0,border=0,hspace=0,vspace=0,top=10,left=10");
		win_huihuistart.focus();
		}										



// POP UPs (hui-hui-affe.html) //

function kontakt()
		{
		win_kontakt = window.open("../../kontakt.htm","info","status=no,width=310,height=580,resizable=yes,scrollbars=0,border=0 hspace=0,vspace=0,top=100,left=490");
		win_kontakt.focus();
		}
function newsletter()
		{
		win_newsletter = window.open("cgi-data/newsletter/abo_form.html","abo","status=no,width=200,height=160,resizable=yes,scrollbars=0,border=0 hspace=0,vspace=0,top=150,left=250");
		win_newsletter.focus();
		}
function press()
		{
		win_press = window.open("../../presse/index.html","press","status=no,width=200,height=160,resizable=yes,scrollbars=0,border=0 hspace=0,vspace=0,top=150,left=250");
		win_press.focus();
		}
		
function dioe()
		{
		win_dioe = window.open("../../dioe/index.htm","dioe","status=no,width=270,height=270,resizable=no,scrollbars=0,border=0,hspace=0,vspace=0,top=350,left=565"); 
		win_dioe.focus();
		}

function heft()
		{
		win_mag = window.open("../../magazin/cover.html","mag","status=no,width=801,height=510,resizable=no,scrollbars=0,border=0,hspace=0,vspace=0,top=110,left=200");
		win_mag.focus();
		}

function links()
		{
		win_links = window.open("../../hui-hui-links.htm","links","status=no,width=170,height=300,resizable=no,scrollbars=0,border=0,hspace=3,vspace=3,left=585,top=165");
		win_links.focus();
		}

function neo()
		{
		win_neo = window.open("NEWCOLLECTION/index.html","neo","status=no,width=733,height=489,resizable=no,scrolling=no,border=0,hspace=0,vspace=0");
		win_neo.moveTo(200,200); 
		win_neo.focus();
		}

function shop()
		{
		win_shop = window.open("../../aktion/ordernow.htm","shop","status=no,width=360,height=650,resizable=yes,scrollbars=yes,border=0,hspace=0,vspace=0,left=50,top=50");
		win_shop.focus();
		}

function stores()
		{
		win_stores = window.open("../../stores.htm","stores","status=no,width=310,height=650,resizable=yes,scrollbars=0,border=0,hspace=0,vspace=0,left=50,top=50");
		win_stores.focus();
		}
		
		
// POP KOLLEKTIONEN 1 2 3 4 5 //

function k1()
		{
		win_k1 = window.open("kollektion1/seiten-k1/huihui001.htm","kollektion1","status=no,width=369,height=255,resizable=no,scrollbars=0,border=0,left=600,top=110");
		win_k1.focus();
		}

function k2()
		{
		win_k2 = window.open("kollektion2/index.html","kollektion2","status=no,width=733,height=489,resizable=no,scrollbars=0,border=0,left=80,top=60");
		win_k2.focus();
		}

function k3()
		{
		win_k3 = window.open("kollektion3/seite1.htm","kollektion3","status=no,width=413,height=401,resizable=no,scrollbars=0,border=0,left=90,top=70");
		win_k3.focus();
		} 
function k4()
		{
		win_k4 = window.open("seite1.htm","kollektion4","status=no,width=395,height=280,resizable=no,scrollbars=0,border=0,left=45,top=115");
		win_k4.focus();
		} 
function k5()
		{
		win_k5 = window.open("kollektion5/1.htm","kollektion5","status=no,width=220,height=318,resizable=no,scrollbars=0,border=0,left=45,top=115");
		win_k5.focus();
		}
		 



// toggle layer script //

function toggle(object) {
  	if (document.getElementById) {
    if (document.getElementById(object).style.visibility == 'visible')
      	document.getElementById(object).style.visibility = 'hidden';
    else
      	document.getElementById(object).style.visibility = 'visible';
  	}

  	else if (document.layers && document.layers[object] != null) {
    if (document.layers[object].visibility == 'visible' ||
        document.layers[object].visibility == 'show' )
      	document.layers[object].visibility = 'hidden';
    else
      	document.layers[object].visibility = 'visible';
  	}

  	else if (document.all) {
    if (document.all[object].style.visibility == 'visible')
      	document.all[object].style.visibility = 'hidden';
    else
      	document.all[object].style.visibility = 'visible';
  	}
	return false;
	}







	
// RELOAD navigator4 //
	<!--
	function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  	if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  	else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
	}
	MM_reloadPage(true);
	//-->



// PRELOAD SWAP MM //
	<!--
	function MM_preloadImages() { //v3.0
  	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}
	//-->

	function MM_swapImgRestore() { //v3.0
  	var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}

	function MM_findObj(n, d) { //v4.01
  	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  	if(!x && d.getElementById) x=d.getElementById(n); return x;
	}

	function MM_swapImage() { //v3.0


// PRELOAD (hui-hui-katze.htm) //
<!--
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		hui_hui_katze2_01_Imagemap_02_over = newImage("Bilder/hui-hui-katze2_01-Imagemap_.gif");
		hui_hui_katze2_01_Imagemap_01_over = newImage("Bilder/hui-hui-katze2_01-Imagem-03.gif");
		hui_hui_katze2_01_Imagemap_01_down = newImage("Bilder/hui-hui-katze2_01-Imagem-04.gif");
		preloadFlag = true;
	}
}

// -->


//preload hund//
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
