<!--
////////////////////\\\\\\\\\\\\\\\\\\
// Designed by & copyright info     \\
// ----------------  -------------- \\
// DHAKRA - PROGRESSIVE DESIGN      \\
//                                  \\
// Branislav Fábry alias Dhakra     \\
// freemind industrial designer     \\
//                                  \\
// Jarníkova 1893/19, 148 00 Prague \\
// Czech republic                   \\
//                                  \\
// www.dhakra.com                   \\
//                                  \\
// © DHAKRA                \\
//                                  \\
// ----------------  -------------- \\
// licenced to:                     \\
// web: www.natuzzi.cz              \\
// released aprox.//20/11/2006      \\
// ----------------  -------------- \\
////////////////////\\\\\\\\\\\\\\\\\\
//D.CORE_V4.0 SCRIPT 


//D.ANALYTICS_V1.0
function DAnalytics(){
/* Google Analytics */
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16986565-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
}


//D.MORPHER_V1.01 //X
var sw=screen.width;
var sh=screen.height;
function Morpher() {
var aw=screen.availWidth;
var ah=screen.availHeight;
win.width=aw;
win.height=ah;
}


//D.CONSISTENCE_V1.01
function Con(deep) {
var dopln;
if (deep==0){dopln=''}
if (deep==1){dopln='../'}
if (deep==2){dopln='../../'}
if (deep==3){dopln='../../../'}
if (self.frames==top.frames) {document.location=dopln+"index.html";}
}


//D.BROWSER.DETECTOR_V1.01
var isDOM
var isNC4
var isNC
var isIE
var isNC6
isDOM=(document.getElementById)?true:false
isNC4=(document.layers)?true:false
isIE=(document.all)?true:false
isNC6=isDOM && !isIE
isNC=isNC4 || isNC6


//D.STYLE.GENERATOR_V1.02
/*
var setcss='';
if(document.all) {setcss='<LINK rel="StyleSheet" href="../css/html.css" type="text/css">'; document.write(setcss);}
else if(document.layers) {setcss='<LINK rel="StyleSheet" href="../css/html-nc.css" type="text/css">'; document.write(setcss);}
else {setcss='<LINK rel="StyleSheet" href="../css/html.css" type="text/css">'; document.write(setcss);}
*/

//D.REGENERATOR_V1.02
function regenerate2(){window.location.reload();}
function regenerate(){if (document.layers);setTimeout("window.onresize=regenerate2()",450);}


//D.STATUS_V2.01
function Stat(intext) {
top.window.status=intext;
}

//D.IMG_V1.01
function Img(name,what){
this.newObr=new Image(); this.newObr.src=''+what+'';
this.document[name].src=newObr.src;
}


//D.WIN.GENERATOR_V2.02
function ShowPage(page,name,width,height) {
window.open(page,name,"toolbar=no,scrollbars=no,location=no,status=no,width="+width+",height="+height+",resizable=0,screenx=0,screeny=0");
}


//D.LAYER.CONTROLLER_V1.01
function Layer(zap,co) {
if (zap==1){ if (isIE)  {document.all[co].style.visibility="visible";}
             if (isNC4) {document.layers[co].visibility="show";}
             if (isDOM) {document.getElementById(co).style.visibility="visible";}}
if (zap==0){ if (isIE)  {document.all[co].style.visibility="hidden";}
             if (isNC4) {document.layers[co].visibility="hide";}
             if (isDOM) {document.getElementById(co).style.visibility="hidden";}}
}


//D.FLASH_1.01 //special edition for IE under f..king WinXP
function DFlash(fc,fid,fw,fh,tr) { /* fc=clip, fid=clipid, fw=width, fh=height, tr=0/1 transparency */
/*var wm="window";
if(tr==null){tr=1;} 
if(tr==0) {wm="transparent";} else {wm="window";}*/
var flash_activex = ""
+"<object id='"+fid+"' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+fw+"' height='"+fh+"'>"
+"<param name='movie' value='"+fc+"'>"
+"<param name='quality' value='high'>"
+"<param name='menu' value='false'>"
+"<param name='loop' value='false'>"
/*+"<param name='wmode' value='"+wm+"'>"*/
+"<embed src='"+fc+"' quality='high' width='"+fw+"' height='"+fh+"' type='application/x-shockwave-flash' pluginspace='http://www.macromedia.com/go/getflashplayer'><"+"/embed><"+"/object>";
FlashActiveXInit(flash_activex);
}
function FlashActiveXInit(content){document.write(content);}

//D.FLASH.OBJECT.DETECTOR_V1.01
function DFO(movieName){
  if (isIE) {if (window.document[movieName]) {return window.document[movieName];}}
  if (!isIE) { if (document.embeds && document.embeds[movieName]) {return document.embeds[movieName];}}
  if (isDOM) { return document.getElementById(movieName);}
}



//D.FAVORITE_V1.01
function AddFavorite() {
if (document.all) {window.external.addfavorite(weburl,webtitle)}
if (document.layers) {
if (window.sidebar&&window.sidebar.addPanel)
window.sidebar.addPanel(webtitle,weburl,'')
else alert("Pro použití této funkce potřebujete mít Netscape Communicator 6.")}
}


//D.GET.PDF_V1.01
function GetPDF() {
var getpdftxt='<b>Poznámka:</b><br>Pro prohlížení dokumentů PDF musíte mít nainstalovaný <A href="http://www.adobe.co.uk/products/acrobat/readstep2.html" target="_blank" class="cenik"><U>Adobe Reader</U></A>.';
document.write(getpdftxt);
}


//D.SECURITY.CODE_V4.01
function deaktivate(h){
if (h==0) {document.oncontextmenu=new Function("return true");}
/*else {document.oncontextmenu=new Function("return false");}*/
}
/*document.oncontextmenu=new Function("return false");*/
//-->
