/*

inc/errorhandling.js

requires shadowbox-js

*/

Shadowbox.init();

function error(msg) {
	error_width = 350;
	error_height = 175;
	error_padding = 10;
    Shadowbox.open({
        content:    '<table cellspacing="0" cellpadding="0"><tr><td align="center" valign="middle" style="width:'+(error_width-error_padding*2)+'px;height:'+error_height+'px;color:#FFF;padding:0px '+error_padding+'px"><p><b>An Error Has Occurred:</b></p><p>'+msg+'</p></td></tr></table>',
        player:     "html",
        title:      "Error",
        height:     error_height,
        width:      error_width
    });
}
