$(document).ready(function () {
	                
	        $("a#demorequestlink").bind("click", function () {
	            $("#demorequest").bPopup({ contentContainer: '#pContent', loadUrl: $(this).attr('href') });
	            return false
	        });
			
			$("a#orderpopup").bind("click", function () {
	            
				$("#orderrequest").height(608);
				$("#orderrequest").width(600);
				$("#orderrequest").bPopup({ follow: [false, true], contentContainer: '#oContent', loadUrl: $(this).attr('href') });
	            return false
	        });
			
			$("a#standardorderpopup").bind("click", function () {
	            
				$("#orderrequest").height(390);
				$("#orderrequest").width(615);
				$("#orderrequest").bPopup({ follow: [false, true], contentContainer: '#oContent', loadUrl: $(this).attr('href') });
	            return false
	        });
			
			$("a#sfgorderpopup").bind("click", function () {
	            
				$("#orderrequest").height(220);
				$("#orderrequest").width(615);
				$("#orderrequest").bPopup({ follow: [false, true], contentContainer: '#oContent', loadUrl: $(this).attr('href') });
				return false
	        });
			
			$("a#documentsorderpopup").bind("click", function () {
	            
				$("#orderrequest").height(470);
				$("#orderrequest").width(650);
				$("#orderrequest").bPopup({ follow: [false, true], contentContainer: '#oContent', loadUrl: $(this).attr('href') });
	            return false
	        });
			
			$('#topbanner').cycle({
			fx: 'fade', 
			pager:'#toppager',
			timeout: 10000,
			pauseOnPagerHover:true,
			pagerAnchorBuilder: function() {
            return '<li><a href="#"><img src="images/pagerbullet.png" /></a></li>';
        }
		});
	       	    
			$('#bottombanner').cycle({
			fx: 'fade', 
			pager:'#bottompager',
			timeout: 8000,
			pauseOnPagerHover:true,
			pagerAnchorBuilder: function() {
            return '<li><a href="#"><img src="images/pagerbullet.png" /></a></li>';
        }
		})
				
	    });



