

jQuery(document).ready(function(){



	jQuery("#nav a").removeAttr("title");

	jQuery("#featured-tabber a").removeAttr("title");
    jQuery("#kreator-logo a").removeAttr("title");

	jQuery("a[rel*=bookmark]").removeAttr("href");
	jQuery("a[rel*=bookmark]").removeAttr("title");
	jQuery("a[rel*=bookmark]").addClass("post-color");

  var message = "Property of Kreator Equipment. All Rights Reserved";
	function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ 	alert(message); return false; }
	if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { 	alert(message); 	return false; } }
	document.onmousedown = rtclickcheck;





	// Customer Service links

	jQuery('#customer-service-kreator a').addClass('selectedLink');

	jQuery('.customer-service-title a').click(

	    function(){
	   	jQuery('.selectedLink').removeClass('selectedLink');
		jQuery(this).addClass('selectedLink');
		return false
	    });



	// Company Page title Links
	jQuery('#company-title-history a').addClass('selectedLink');

	jQuery('.company-title a').click(
	    function(){
		jQuery('.selectedLink').removeClass('selectedLink');
		jQuery(this).addClass('selectedLink');
		return false
	    });


	// Company Page Career Links
	jQuery('#career-title-welder a').addClass('careerLink');

	jQuery('.career-titles a').click(
	    function(){
		jQuery('.careerLink').removeClass('careerLink');
		jQuery(this).addClass('careerLink');
		return false
	    });


	//Tabs for the company page

	 jQuery(".tab:not(:first)").hide();


	 jQuery(".tab:first").show();


	 jQuery(".htabs a").click(function(){

		 jQuery('.careerLink').removeClass('careerLink');


		 jQuery('#career-title-welder a').addClass('careerLink');

		 stringref = jQuery(this).attr("href").split('#')[1];

		 jQuery('.tab:not(#'+stringref+')').hide();

		 if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == "6.0") {
		 jQuery('.tab#' + stringref).show();
		 }
		 else

		 jQuery('.tab#' + stringref).fadeIn(2000);

		 return false;
	 });




	 //Tabs for the career page

	  jQuery(".subtab:not(:first)").hide();


	  jQuery(".subtab:first").show();


	  jQuery(".careertabs a").click(function(){

		  stringref = jQuery(this).attr("href").split('#')[1];

		  jQuery('.subtab:not(#'+stringref+')').hide();

		  if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == "6.0") {
		  jQuery('.subtab#' + stringref).show();
		  }
		  else

		  jQuery('.subtab#' + stringref).fadeIn(2000);

		  return false;
	 });


	//Accordian style drop down for services

		// simple accordion




	jQuery("#accordion").accordion({
    active: false,
    collapsible: true
    });



});









