Calendar making IE error

Hi,
I am having some trouble loading Scheduler. Here’s a page, which loads something in Firefox but not IE… I have not understood from the documentation, what I should do. :blush:
Can you help me to eliminate error?

Connector:

<?php
	require_once('../connect/config.php');
	require_once('../codebase/scheduler_connector.php');
 
	$res=mysql_connect($dbhost, $dbuser, $dbpass);
	mysql_select_db("my_database");
 
	$calendar = new SchedulerConnector($res);
	$calendar->render_sql("Select * from my_grid","grid_id","grid_starttime,grid_starttime,grid_name","grid_itemtype");
?>

Html:

Calendar View
 
 
<script type="text/javascript">
	var scheduler;
	scheduler.config.xml_date="%Y-%m-%d %H:%i";
	scheduler.config.map_initial_position = new google.maps.LatLng(40.719837,-73.992348);
	scheduler.init('scheduler_here',null,"week");
	scheduler.load("connect/get_scheduler.php");
</script>

You need not include

they are already included as part of dhtmlxscheduler.js

If error still occurs - can you provide some more info, what is the text of error in IE?

Deleted those but same thing.

Message: ‘scheduler.config’ is null or not an object
Line: 39, Char: 3, Code: 0
URI: intelsystech.com/ab/Calendar.php

missed it first time, the next line need to be removed

var scheduler;

the scheduler object is created automatically, you need not define var for it.