var bgImage='bg2.jpg';var browserName2;var browserName;function isEven(num){return!(num%2);}
function checkBrowser(blog){var changeIT=false;var ua=navigator.userAgent.toLowerCase();if(ua.indexOf("opera")!=-1){browserName="opera";}else if(ua.indexOf("msie")!=-1){browserName="msie";changeIT=true;}else if(ua.indexOf("safari")!=-1){if(ua.indexOf("chrome")!=-1){browserName="chrome";if(blog===1){document.body.style.backgroundImage='url(../images/bg4.jpg)';$('mainContainer').style.backgroundImage='url(../images/bg4.jpg)';}
else{document.body.style.backgroundImage='url(images/bg4.jpg)';$('mainContainer').style.backgroundImage='url(images/bg4.jpg)';}
bgImage='bg4.jpg';}
else{browserName="safari";}}else if(ua.indexOf("mozilla")!=-1){if(ua.indexOf("firefox")!=-1){var ww=window.document.body.clientWidth;document.body.style.backgroundImage='url(../images/bg4.jpg)';$('mainContainer').style.backgroundImage='url(../images/bg4.jpg)';if(isEven(ww)){if(blog===1){document.body.style.backgroundImage='url(../images/bg4.jpg)';$('mainContainer').style.backgroundImage='url(../images/bg4.jpg)';}
else{document.body.style.backgroundImage='url(images/bg4.jpg)';$('mainContainer').style.backgroundImage='url(images/bg4.jpg)';}
bgImage='bg4.jpg';}
browserName="firefox";}else{browserName="mozilla";}}
if(changeIT==true){if(blog===1){document.body.style.backgroundImage='url(../images/bg4.jpg)';$('mainContainer').style.backgroundImage='url(../images/bg4.jpg)';}
else{document.body.style.backgroundImage='url(images/bg4.jpg)';$('mainContainer').style.backgroundImage='url(images/bg4.jpg)';}
bgImage='bg4.jpg';}
browserName2=browserName;};function ElmHeight(elmID){if($(elmID).clientHeight){$('mattyBoy2').style.height=($(elmID).clientHeight-63)+'px';}
else{if($(elmID).offsetHeight){$('mattyBoy2').style.height=($(elmID).offsetHeight-63)+'px';}}}
function ElmHeight2(elmID){if($(elmID).clientHeight){$('mattyBoy2').style.height=($(elmID).clientHeight-0)+'px';}
else{if($(elmID).offsetHeight){$('mattyBoy2').style.height=($(elmID).offsetHeight-0)+'px';}}}
var numTimes=1;function doElmHeight(){if(numTimes<9){ElmHeight('mattyBoy1');numTimes=numTimes+1;}}
function setCookie(c_name,value,expiredays){var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);document.cookie=c_name+"="+escape(value)+
((expiredays==null)?"":";expires="+exdate.toGMTString());}
function getCookie(c_name){if(document.cookie.length>0){c_start=document.cookie.indexOf(c_name+"=");if(c_start!=-1){c_start=c_start+c_name.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end));}}
return"";}
var ww;function fwW(blog){if(browserName==='firefox'){ww=window.document.body.clientWidth;if(isEven(ww)){if(blog===1){document.body.style.backgroundImage='url(../images/bg4.jpg)';$('mainContainer').style.backgroundImage='url(../images/bg4.jpg)';}
else{document.body.style.backgroundImage='url(images/bg4.jpg)';$('mainContainer').style.backgroundImage='url(images/bg4.jpg)';}
bgImage='bg4.jpg';}
else{if(blog===1){document.body.style.backgroundImage='url(../images/bg2.jpg)';$('mainContainer').style.backgroundImage='url(../images/bg2.jpg)';}
else{document.body.style.backgroundImage='url(images/bg2.jpg)';$('mainContainer').style.backgroundImage='url(images/bg2.jpg)';}
bgImage='bg2.jpg';}}}
