$(document).ready(function() {
	$('#faqLink').click(function() {
		openWindow('http://kraft.neoassist.com/?th=trakinas', 700, 795);
		return false;
	});
});

function openWindow(url, width, height) {
	window.open(url,'TrakinasPopup','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + width + ',height=' + height);
}

function tamanduaWindow(url) {
    var hsize, wsize;var width = screen.width;var height = screen.height;
    if(height <= 800){hsize = height-150;}
    else{hsize = 720;}
    wsize = parseInt((((hsize*100)/720)/100)*486);
    
    window.open(url,'TrakinasPopup','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,directories=no,titlebar=no,resizable=no,top=0px,left=0px,width=' + wsize + ',height=' + hsize);
}

function thisMovie(movieName) {
	 if (navigator.appName.indexOf("Microsoft") != -1) {
		 return window[movieName];
	 } else {
		 return document[movieName];
	 }
 }
function unlockScreen() {
	 thisMovie("wrapper").unlockScreen();
}
