﻿var addthis_pub = "ubWitness";
var addthis_brand = "ubWitness";
var addthis_options = 'favorites, email, facebook, twitter, google, buzz, digg, myspace, linkedin, more';

jQuery.noConflict();
jQuery(document).ready(function() {
    jQuery(".inputNormal").blur(function() {
        jQuery(this).css("border-color", "silver");
        jQuery(this).css("background-color", "white");
    });
    jQuery(".inputNormal").focus(function() {
        jQuery(this).css("border-color", "#732c00");
        jQuery(this).css("background-color", "#f8f2ed");
    });

});


var NewWin = null
function OpenWin(iWidth, iHeight, sURL) {
    iWidth = iWidth + 50; iHeight = iHeight + 100;
    if (navigator.appVersion.indexOf('MSIE 3') > -1 || parseInt(navigator.appVersion.substring(0, 1)) <= 2) { window.open(sURL); }
    else {
        if (NewWin == null) { NewWin = window.open(sURL, 'NewWindow', 'width=' + iWidth + ',height=' + iHeight + ',resizable,scrollbars'); }
        else { if (NewWin.closed) { NewWin = window.open(sURL, 'NewWindow', 'width=' + iWidth + ',height=' + iHeight + ',resizable,scrollbars'); } else { NewWin.location = sURL; NewWin.focus(); } } 
    }
}
