function ContactOpen() {
	$('#contactf').animate({opacity: "show", top: "2%"}, "slow");
}
function ContactClose() {
	$('#contactf').animate({opacity: "hide", top: "-315"}, "slow");
	$('.wpcf7-form').each (function(){
		this.reset();
	});
}

function JobOpen() {
	$('#jobapply').animate({opacity: "show", top: "2%"}, "slow");
}
function JobClose() {
	$('#jobapply').animate({opacity: "hide", top: "-315"}, "slow");
	$('.wpcf7-form').each (function(){
		this.reset();
	});
}

jQuery(document).ready(function() {
	jQuery("#dropmenu ul").css({display: "none"}); // Opera Fix
	jQuery("#dropmenu li").hover(function(){
		jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).show(600);
		},function(){
		jQuery(this).find('ul:first').css({visibility: "hidden"});
		});
	$("#dropmenu").children().each(function(){
		$(this).children().each(function(){
			if ($(this).is("ul")) {
		$(this).children().each(function(){
		$(this).children().each(function(){
			if ($(this).is("ul")) {
		$(this).parent()/*.children()*/.attr("style", "background: #181818 url('http://dev.gocipher.com/wp-content/themes/gocipher/images/arrow.png') no-repeat center right;");
			}
		});
		});
			}							
		});
	});
});