/**
 * @author Sunil Williams
 *
 */

$(document).ready(function(event){

	//make the video-demo images look like links
		    // and add a cursor pointer to on hover
		    $(".demo_image").hover(function(){
					     $(this).addClass('hover_pointer') ;},
					   function() {
					     $(this).removeClass('hover_pointer') ;
					   } ) ;

		    // initiate our hidden divs as as modals
		    $("#video_window_overcharging").jqm({modal:true}) ;
		    $("#video_window_billing").jqm({modal:true}) ;
		    $("#video_window_abuse").jqm({modal:true}) ;

		    //On a click, open a modal window for our demo.
		    $("#demo_image_overcharging").click(function(){
		    $("#video_window_overcharging").jqmShow() ;
						 }) ;
//On a click, open a modal window for our demo.
		    $("#demo_image_billing").click(function(){
		    $("#video_window_billing").jqmShow() ;
						 }) ;
//On a click, open a modal window for our demo.
		    $("#demo_image_abuse").click(function(){
		    $("#video_window_abuse").jqmShow() ;
						 }) ;




		  });