// JavaScript Document
// Left Side li background color change
$(function () {
    $(".service_list dd:odd").css("background", "#EE6F0D");
    $(".service_list dd:even").css("background", "#F3CC86");

});


$(function () {
    $('#contactform').slidinglabels({ /* these are all optional */
        className: 'form-slider',
        // the class you're wrapping the label & input with -> default = slider
        topPosition: '5px',
        // how far down you want each label to start
        leftPosition: '5px',
        // how far left you want each label to start
        axis: 'y',
        // can take 'x' or 'y' for slide direction
        speed: 'fast' // can take 'fast', 'slow', or a numeric value
    });
});


/* Robert Pop up Thing */

function show_portfolio() {
    document.getElementById("iframe").style.display = 'block';
} /* Robert Pop up Thing Click here to exit */

function hidepopup() {
    window.parent.document.getElementById('iframe').style.display = 'none';
} /* Robert Pop up Thing pust esc to exit */

document.onkeydown = function (e) {
    if (e.which == 27) {
        window.parent.document.getElementById('iframe').style.display = 'none';
    }
}


// Scrole To Links. And Hoe To Use 
//      <a href="javascript:void(0)" onclick="goToByScroll('# of link')">Contact Info</a>

function goToByScroll(id) {
    $('html,body').animate({
        scrollTop: $("#" + id).offset().top
    }, '50');
}

// Let People know they need to stop using IE^
//if ($.browser.msie && $.browser.version == 6.0) {  
//alert("This site may not look good due to you using an out of date browser."); 
//} 



// Needed For the Translate
TranslateThis();

 
 
 
  
  

$(document).ready(function() {

	/* This is basic - uses default settings */
	
	$("a.single_image").fancybox();
	
	/* Using custom settings */
	
	$("a#inline").fancybox({
		'hideOnContentClick': true
	});

	/* Apply fancybox to multiple items */
	
	$("a.group").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	false
	});
	
});
 
 
 
  
 
