/**
 * Reset the margin, padding and font-size style for the freedom containers. 
 * @author shachor
 */
var textSize = '10px';

if((screen.width > 1100) && (screen.height > 800))
{
    textSize = '12px';          
}

var cssStr = 'html, body, div, table, tbody, tr, td, ol, ul, li, label, legend, input, button, select, textarea, p, img, span { font-size: ' + 
    textSize+ 
    ';}';
             
var style = document.createElement("style");
style.setAttribute("type", "text/css");
// IE is b0rken enough to require that we add the element to the doc
// before changing it's properties
var head = document.getElementsByTagName("head")[0];
head.appendChild(style);

if(style.styleSheet) { // IE
    style.styleSheet.cssText = cssStr;
} else { // w3c
    var cssText = document.createTextNode(cssStr);
    style.appendChild(cssText);
}    
