function flipImage(id, fileLoc){
	document.getElementById(id).src = "images/" + fileLoc;	
}


function rePosScroller(){
	try{
		var scroller = document.getElementById('scroller');
		var height = $(window).height();
		
		var scollT = $(window).scrollTop();
		scroller.style.top = (scollT + 55) + 'px';
	}catch(Exception){
		//alert(Exception);
	}
	
}

function scrollUp(){
	
			$("html,body").animate({scrollTop: 0}, 1000, "easeOutQuint", function() {
                });
	
}

$(document).ready(function() {
	rePosScroller();
});

$(window).resize(function() {
  rePosScroller();
});

$(document).scroll(function() {

  rePosScroller();
});





function makeActive(id, controlText){
				
				var FV = document.getElementById(id).value;
				if(FV == controlText){
					document.getElementById(id).value = "";
					document.getElementById(id).style.color = "#fff";	
				}else{
					
				}
			}
			function makeInactive(id, controlText){
				var FV = document.getElementById(id).value;
				if(FV == ""){
					
					document.getElementById(id).value = controlText;
					document.getElementById(id).style.color = "#ccc";	
				}else{
					
				}
			}
