<!---------- START : ibm js ---------->
<!--
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);

function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}
//-->
<!---------- END : ibm js ---------->


<!---------- START : HD BUBBLES ----------> 

<!-- Begin

var url = "http://www.clubqing.com/cookbook.shtml"
var no = 1; // image number or falling rate
var speed = 150; // the lower the number the faster the image moves
var snow = new Array();
snow[0] = "http://www.clubqing.com/images/moving_icon_eng.jpg"


var ns4up = (document.layers) ? 1 : 0;  // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
var dx, xp, yp;    // coordinate and position variables
var am, stx, sty;  // amplitude and step variables
var i, doc_width = 100, doc_height = 1800;

if (ns4up||ns6up) {
        doc_width = 100;
        doc_height = self.innerHeight;
} else if (ie4up) {
        doc_width = 100;
        doc_height = document.body.clientHeight;
}

dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
j = 0;

var add_height=0;

for (i = 0; i < no; ++ i) {

add_height=add_height+100;

        dx[i] = 0;                        // set coordinate variables
        xp[i] = document.body.clientWidth*0.75;;  // set position variables
        yp[i] = 350;
        am[i] = 000;         // set amplitude variables
        stx[i] = 0.02 + Math.random()/10; // set step variables
        sty[i] = 1.94;     // set step variables
        

        if (ns4up) {                      // set layers
                        document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\" z-index=\""+ i + "\">" + 
						
						"<a href=http://www.clubqing.com/cookbook.shtml>" + 

						"<img src=\""+ snow[j] + "\" border=\"0\"></a>" + 
						
						"</layer>"
                         );
						} 
						
		else if (ie4up||ns6up) {
                        document.write(
						"<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"VISIBILITY: visible; TOP: 15px; LEFT: 15px; width:1;\">" + 
						
						"<a href=http://www.clubqing.com/cookbook.shtml>" + 
						
						"<img src=\"" + snow[j] + "\" border=\"0\"></a>" + 
						
						"</div>"
                        );
        }
        if (j == (snow.length-1)) { j = 0; } else { j += 1; }

}

var pixelTop_s1;
var pixelLeft_s1;


function snowNS() {  // Netscape main animation function
        for (i = 0; i < no; ++ i) {  // iterate for every dot
                yp[i] -= sty[i];                if (yp[i] < -50) {
                        xp[i] = document.body.clientWidth*0.50;
                        yp[i] = doc_height;
                        stx[i] = 0.02 + Math.random()/10;
                        sty[i] = 0.7;
                        doc_width = 100;
                        doc_height = self.innerHeight;                }
                dx[i] += stx[i];
                document.layers["dot"+i].top = yp[i];
                document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
        }
        setTimeout("snowNS()", speed);
}

function snowIE_NS6() {  // IE main animation function
        for (i = 0; i < no; ++ i) {  // iterate for every dot
                yp[i] -= sty[i];
                if (yp[i] < -50) {
                        xp[i] = document.body.clientWidth*0.50;
                        yp[i] = doc_height;
                        stx[i] = 0.02 + Math.random()/10;
                        sty[i] = 0.7;
                        doc_width = ns6up?100:100;
                        doc_height = ns6up?window.innerHeight-5:document.body.clientHeight;
                }
                dx[i] += stx[i];
                if (ie4up){
                document.all["dot"+i].style.pixelTop = yp[i];
                document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);

                pixelTop_s1=document.all["dot"+i].style.pixelTop;
                pixelLeft_s1=document.all["dot"+i].style.pixelLeft;

                }
                else if (ns6up){
                document.getElementById("dot"+i).style.top=yp[i];
                document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i]);
                }
        }
        setTimeout("snowIE_NS6()", speed);
}

if (ns4up) {
        snowNS();
} else if (ie4up||ns6up) {
        snowIE_NS6();
}



function dotover()
{
   if(ns6up)
   {
      eval('document.getElementById("dot"+i).style.top');
      eval('document.getElementById("dot"+i).style.left');
      document.getElementById("dot"+i).visibility="show";
   }
   else if(ie4up) 
   {
      document.all.popup1.style.pixelTop=pixelTop_s1-50;
      document.all.popup1.style.pixelLeft=pixelLeft_s1-15;
      document.all.dot0.style.visibility="hidden";
      document.all.popup1.style.visibility="visible";
   }
}

function dotout()
{
   if(ns6up)
   {
      document.popup1.visibility="hide";
      eval(document.layers.dot0.visibility="show");
   }
   else if(ie4up) 
   {
      document.all.popup1.style.visibility="hidden";
      document.all.dot0.style.visibility="visible";
   }
}



// End -->

<!---------- END : HD BUBBLES ----------> 
