function fix_height(){ var all_height = get_all_height(); document.getElementById("main").style.height = all_height + "px"; } //start business actions function get_all_width(){ var theWidth; // Window dimensions: if (window.innerWidth) { theWidth=window.innerWidth; } else if (document.documentElement.clientWidth) { theWidth=document.documentElement.clientWidth; } else if (document.body) { theWidth=document.body.clientWidth; } return theWidth; } function get_all_height(){ var theHeight; // Window dimensions: if (window.innerHeight) { theHeight=window.innerHeight; } else if (document.documentElement.clientHeight) { theHeight=document.documentElement.clientHeight; } else if (document.body) { theHeight=document.body.clientHeight; } return theHeight; } var lid; function show_multimeda(mid){ if(lid>0){ $('#multimedia-container-'+lid).hide(); } $('#multimedia-container-'+mid).show(); lid = mid; } function go_to_url(url){ document.location.href= url; } function validate_email(t) { maska = /^[0-9a-z_.-]+@([0-9a-z-]+.)+[a-z]{2,4}$/; if (maska.test(t)==false) { return false; } return true; } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&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