/* Author: Graeme Hoffman

*/

//alert("TEST")

var myPageManager

$.getScript("/js/page.js", function(){


   //alert("Script loaded and executed.");
   // here you can use anything you defined in the loaded script
	
	
	
	$.getScript("/js/betterPageManager.js", function(){
		//alert("yes")
		
		myPageManager = new PageManager("sliderCanvas")
	
	
	});


	

});


openURL = function (url){
	
	window.open(url)
	return false;
	
}




/*

$().ready(function() {
  
  // select + reference "triggering element" -- will pass to $.jqm()
  var triggers = $('a.ex3bTrigger')[0];
  
  // NOTE; we could have used document.getElementById(), or selected
  //  multiple elemets with $(..selector..) and passed the trigger
  //  as a jQuery object. OR, just include the string '#ex3btrigger' 
  //  as the trigger parameter (as typically demonstrated).
  
  //  NOTE; we supply a target for the ajax return. This allows us
  //   to keep the structure of the alert window. An element can 
  //   also be passed (see the documentation) as target.
  
  $('#ex3b').jqm({
    trigger: triggers,
    ajax: 'examples/3b.html',
    target: 'div.jqmAlertContent',
    overlay: 0
    });
  
  // Close Button Highlighting. IE doesn't support :hover. Surprise?
  if($.browser.msie) {
  $('div.jqmAlert .jqmClose')
  .hover(
    function(){ $(this).addClass('jqmCloseHover'); }, 
    function(){ $(this).removeClass('jqmCloseHover'); });
  }
});


*/




$().ready(function() {

	
	$('#clientLogin').submit(function() {
	
		//options = {close:true, closeHTML:"close"};
		
		//$.modal("some text goes here", options); // jQuery object; this demo
		
		$("#basic-modal-content").modal();
		
	  return false;
	});
	
	

});

















