function initSIFR() { if(typeof sIFR == "function"){ // header big, black sIFR.replaceElement(named( { sSelector:"h1", sFlashSrc:"http://www.paardekooper.nl/e-shop/flash/h1.swf", sColor:"FFFFFF", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0" } )); sIFR.replaceElement(named( { sSelector:"h3.lbl_button", sFlashSrc:"http://www.paardekooper.nl/e-shop/flash/h3.swf", sColor:"333333", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0" } )); // // sIFR.replaceElement(named( { // sSelector:"h4", // sFlashSrc:"http://www.paardekooper.nl/e-shop/flash/h4.swf", // sColor:"003346", // sWmode:"transparent", // nPaddingTop:0, // nPaddingBottom:0, // sFlashVars:"textalign=left&offsetTop=0" // } // )); // // sIFR.replaceElement(named( { // sSelector:"h5", // sFlashSrc:"http://www.paardekooper.nl/e-shop/flash/h4.swf", // sColor:"003466", // sWmode:"transparent", // nPaddingTop:0, // nPaddingBottom:0, // sFlashVars:"textalign=left&offsetTop=0" // } // )); }; } $(document).ready(function(){ $('.subitems .subitem').click(function(){ // close all if (!$(this).next().is(':visible') ) { $('.subitems .subitem').each(function(){ $(this).next().slideUp('slow'); }) $(this).next().slideDown('slow'); } return false; }); $('.spidermatrix .a').click(function(){ // close all if (!$(this).next().is(':visible') ) { $('.spidermatrix .a').each(function(){ $(this).next().slideUp('slow'); }) $(this).next().slideDown('slow'); } return false; }); $('.nature').hover( function(){ $('.infobox').show(); }, function(){ $('.infobox').hide(); } ) }); function printme() { var objOut = document.getElementById("output"); var out = objOut.innerHTML; var wh = window.open("","wh","width=720px,height=480px,scrollbars=yes"); wh.document.open(); var output = ''; output = ''+output+''+out.replace('','/object-->')+''; output += '<'+'script type="text/javascript">'; output += 'setTimeout("window.print()",2000);'; output += ''; wh.document.writeln(output); wh.document.close(); } function openOverlay(title,url,width,height,extraParameter) { GB_showCenter(title, url, /* optional */ height, width) if (title=='Details') { //alert('details') GetAJAX('lastshown.xml.asp', 'lastshown_articles', Array('id'), Array(extraParameter),0) } } function openArtikel(id){ GetAJAX('lastshown.xml.asp', 'lastshown_articles', Array('id'), Array(id),0) } function isNumberKey(e) { var k; document.all ? k = e.keyCode : k = e.which; return ( (k > 47 && k < 58) || k == 46 || k==8 || k==9 || k==0 ); } function centerObj(el){ //document.getElementById(el).style.left = parseInt((screen.availWidth/2) - 140) if (window.ActiveXObject) { //document.getElementById(el).style.top = parseInt(((screen.availHeight/2) - 180) + $(window).scrollTop()); $('#' + el).css('top', parseInt(((screen.availHeight/2) - 180) + $(window).scrollTop())); } else{// if (window.ActiveXObject) { $('#' + el).css('top', window.pageYOffset + (screen.availHeight/2) - 180); } } function redirect(value) { window.location='?order='+value; }