$nym=jQuery.noConflict();



$nym(document).ready(function(){


	sel=$nym('.UC109 .MiddleBox');
	ht=sel.html();
	if(ht!==null&&ht.match('SmallCart'))
	{
		htn=ht.replace(/SmallCart/g,'SmallCart-x-');
		sel.html(htn); 
	}


$nym('#body').css('min-height',$nym(window).height()-$nym('#head').innerHeight()-$nym('#tail').innerHeight()-1+'px');

$nym('#siteMenu_pnlMain ul li').each(
	function(k,zn)
	{
		$nym(this).addClass('m'+k);
	}	  
);




	$nym('#secondColumn .UC129ContactInfoCont').children('div').each(
		function()
		{
					
			t=$nym(this).find('.UC129FormLabel').html().replace(':',' ');
			r=$nym(this).find('.UC129RequiredField').html();
			if(r==null){ r=''; }
			$nym(this).find('input:text').val(t+r);
			
		}														 														
	);




});


$nym(window).load(function () {





});
//






// FORM AUTOVALUES
$nym(document).ready(function(){

	function populateElement(selector, defvalue) {
		$nym(selector).focus(function() {
			if ($nym(selector).val() == 'Website') {
				$nym(selector).val('http://');
			} else if ($nym(selector).val() == defvalue) {
				$nym(selector).val('');
			}
		});

		$nym(selector).blur(function() {
				if ($nym.trim($nym(selector).val()) == '') {
						$nym(selector).val(defvalue);
				}
		});
	};

	$nym('form').find('input[type="text"], input[type="password"], textarea').each(function() {
				populateElement($nym(this), $nym(this).val());
			}
	);

});

//


// JavaScript Document
/*
var browserName=navigator.appName; 

 if (browserName=="Microsoft Internet Explorer")
 {
  DD_roundies.addRule('.UC122 .MiddleBox, .UC128 .MiddleBox', '0 0 4px 4px');
  DD_roundies.addRule('.UC122 .TopBox, .UC128 .TopBox, .UC101MainTitle, .UC120SubMainTitle', '4px 4px 0 0;');
  DD_roundies.addRule('.UC109 .TopBox', '4px 0 0 0;');
 }
*/

