Fatal error: Smarty error: [in header.html line 60]: syntax error: unrecognized tag: //get the width and height of the window
var wide = 930;
var high = 600;
//this gets the total available width and height of the users screen
screen_height = window.screen.availHeight;
screen_width = window.screen.availWidth;
//this gets the left and top point by saying total width of the screen divided by 2 (center), minus the width of your window divided by 2, which make its center point the middle of the screen. Same for the top
left_point = parseInt(screen_width/2)-(wide/2);
top_point = parseInt(screen_height/2)-(high/2);
//just doing a simple popup window here, but plugging your info into it, and setting the top and left corners to be our calculated points that will center your window.
win = window.open("SK Sheetfeeding order-2.php", 'win', 'width='+wide+',height='+high+',left='+left_point+',top='+top_point+',toolbar=no,location=no,scrollbars=yes,status=no,resizable=no,fullscreen=no') in /homepages/18/d157608549/htdocs/scotsman/application/Smarty/Smarty.class.php on line 1092