﻿// JScript File
    var $jq = jQuery.noConflict();
    
//    $jq(document).ready(function() 
//    {
//        // LIGHTBOX //
//        $jq(function() {
//	        $jq('a.lightbox').lightBox({
//	            imageLoading: 'Jquery Lightbox/images/lightbox-ico-loading.gif',
//	            imageBtnClose: 'Jquery Lightbox/images/lightbox-btn-close.gif',
//	            imageBtnPrev: 'Jquery Lightbox/images/lightbox-btn-prev.gif',
//	            imageBtnNext: 'Jquery Lightbox/images/lightbox-btn-next.gif'
//	        });
//	    });
//    
//    });
    
    $jq(document).ready(function() 
    {
	    $jq("a.fancybox").fancybox
	    ({
		    'zoomSpeedIn':		300, 
		    'zoomSpeedOut':	    300, 
		    'overlayShow':		true,
		    'hideOnContentClick': false,
		    'hideOnOverlayClick' : false,
		    'centerOnScroll': false,
		    'padding' : 10,
		    'enableEscapeButton' : true
	    });
	    
	    $jq("#slider").easySlider({
	        speed: 2000,
	        auto: true,
	        pause : 5000,
	        continuous: true
	        
	    });
    });
    
    
//    $jq(document).ready(function() 
//    {
//	    $jq("#slider").easySlider({
//	        speed: 1000,
//	        auto: true,
//	        pause : 1000,
//	        
//	    });
//    });

    
    function resetText(id,text)
    {
	    var txt = document.getElementById(id);
	    if(txt.value == "")
	    {
		    txt.value = text
	    }
    };

    function clearText(id,text)
    {
	    var txt = document.getElementById(id);
	    if (txt.value == text)
	    {
	        txt.value = "";
	    }
    };
   
  

