function    bookmark() {
    if (navigator.appName == 'Microsoft Internet Explorer') {
        window.external.AddFavorite(document.location.href, document.title);
    }
    else {
        window.sidebar.addPanel(document.title, document.location.href, '');
    }
}
var win = null;
var scroll = "yes";

function NewWindow(mypage,myname,w,h,scroll){
    LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
    TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
    settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
    win = window.open(mypage,myname,settings)
    if(win.window.focus){win.window.focus();}
}

$(document).ready(function() {
    $("a#dl_pdf").fancybox({
        hideOnOverlayClick: false,
        hideOnContentClick: false,
		autoDimensions: false,
		width: 620,
		height: 110
	});
    $('form.validate').validate();
	});

