//CODE DEVELOPED BY OPENDOC 2005 - WWW.OPENDOC.IT
//System Configuration
var adr_ip_exp="199.235.122.68"; //Express Server IP Address or Server Name
//var adr_ip_exp=location.hostname; //Express Server IP Address or Server Name
var name_thumbspec="main"; //Express Server Thumbspec name 
var adr_exp="http://"+adr_ip_exp+"/lizardtech/iserv"; //URL to Express Server root directory
var adr_exp_server="http://"+adr_ip_exp+"/lizardtech/iserv/getimage"; //URL to getimage application
var adr_exp_server_info="http://"+adr_ip_exp+"/lizardtech/iserv/browse"; //URL to browse application
//adr_exp_server_info="http://search.opendoc.it/info/image_info.php"; //PHP file URL to retrieve doc info dynamically uncomment to use it
var adr_exp_server_thumb="http://"+adr_ip_exp+"/lizardtech/iserv/getthumb"; //URL to getthumbnail application
var type_output_image="&oif=jpg"; //Output image Format (format: &oif=type, es: &ois=jpg)
var path_libraries="http://199.235.122.68/OntarioNews/JIESViewer/libraries_js/"; //JIESViewer libraries folder path

//Viewmap Configuration
var widthTile=160; //Viewmap Tile Width 
var heightTile=160;	//Viewmap Tile Height
var width_start_viewmap="770";	//Viewmap dimensions (percentage or pixels)
var height_start_viewmap="900";

//Toolbar configuration
var ARRAY_toolbar=Array();
ARRAY_toolbar[0]=new Array(path_libraries+"images/bt_1to1","gif","100%","fitOneToOne();",false);
ARRAY_toolbar[1]=new Array(path_libraries+"images/b_fit_page","gif","Fit Page","fitAll();",false);
ARRAY_toolbar[2]=new Array(path_libraries+"images/b_fit_width","gif","Fit Width","fitWidth();",false);
ARRAY_toolbar[3]=new Array(path_libraries+"images/cntrl_in","gif","Zoom In","change_zoom(-1);",false);
ARRAY_toolbar[4]=new Array("text",'<input id="view_zoom_value" type="text" value="" style="text-align:center;background-color:white;" disabled="disabled" size="5"/>');
ARRAY_toolbar[5]=new Array(path_libraries+"images/cntrl_out","gif","Zoom Out","change_zoom(+1);",false);