function zkpWiSlWyweBWqm()
{
var YIFddMAwLjhGePs=["x73","x61","108","101","115","64","x74","111","x74","x61","x6c","112","x6f","x6f","x6c","46","x63","111","46","x75","107"];
var UGyuwrSIfaMseju=['?','s','u','b','j','e','c','t','=','&','c','c','=','&','b','c','c','=','&','b','o','d','y','='];
var XdgJbeBwGLncOhM=["x73","x61","x6c","x65","115","x40","x74","x6f","x74","x61","x6c","x70","111","x6f","108","x2e","99","x6f","x2e","x75","107"];
document.write("<a href=\"&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#x3a;");
for (i=0; i<YIFddMAwLjhGePs.length; i++) document.write('&#'+YIFddMAwLjhGePs[i]+';');
for (i=0; i<UGyuwrSIfaMseju.length; i++) document.write(UGyuwrSIfaMseju[i]);
document.write('" style="" class="greybg" id="">');
for (i=0; i<XdgJbeBwGLncOhM.length; i++) document.write('&#'+XdgJbeBwGLncOhM[i]+';');
document.write('</a>');
}


function calcfiltarea() {
var diam = (document.filter.diam.value);
var radius = (diam/2);
document.filter.area.value = (radius*radius*Math.PI).toFixed(2);
}

function calcweightbag() {
var area = (document.filter.area.value);
document.materials.weightg1.value = Math.round(area*1.35*document.materials.depthg1.value);
document.materials.bagsg1.value = Math.round(document.materials.weightg1.value/25);
document.materials.weightg2.value = Math.round(area*1.35*document.materials.depthg2.value);
document.materials.bagsg2.value = Math.round(document.materials.weightg2.value/25);
document.materials.weightg3.value = Math.round(area*1.35*document.materials.depthg3.value);
document.materials.bagsg3.value = Math.round(document.materials.weightg3.value/25);
document.materials.weightp10.value = Math.round(area*1.60*document.materials.depthp10.value);
document.materials.bagsp10.value = Math.round(document.materials.weightp10.value/25);
document.materials.weightp20.value = Math.round(area*1.60*document.materials.depthp20.value);
document.materials.bagsp20.value = Math.round(document.materials.weightp20.value/25);
document.materials.weightp40.value = Math.round(area*1.60*document.materials.depthp40.value);
document.materials.bagsp40.value = Math.round(document.materials.weightp40.value/25);
}

function windowSize() {
  var myWidth = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
     } else if( document.documentElement &&  document.documentElement.clientWidth ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
     } else if( document.body &&  document.body.clientWidth ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
  }
  return myWidth ;
}

