function unsetFlashClass(objId) {
    myObj = document.getElementById(objId);
    if(myObj) myObj.className = '';
}



// global stuff


$(document).ready(function(){

	// news ticker
	if(typeof $().newsTicker == "function") {
		var options = {
  		newsList: "#alert_area ul",
 			tickerRate: 40,
 			startDelay: 10,
 			loopDelay: 4000,
 			placeHolder1: " -",
 			placeHolder2: ""
		}
		$().newsTicker(options);
	}
// big click
$(".register").click(function() { 
	myWindow = window.open($(this).attr("href"), "emailPage", "width=670, height=450");
				myWindow.focus();
				return false;
			})	
$("#downloads").click(function() { 
myWindow = window.open($(this).children('p').children('a').attr("href"), "emailPage", "width=670, height=450");
			myWindow.focus();
			return false;
		})
// big click
$("#sign_up").click(function() { 
myWindow = window.open($(this).children('p').children('a').attr("href"), "emailPage", "width=670, height=590");
			myWindow.focus();
			return false;
		})

$("a.become-partner-btn").click(function() { 
myWindow = window.open($(this).attr("href"), "emailPage", "width=670, height=590");
			myWindow.focus();
			return false;
		})
		
$("a.contact-me-btn").click(function() { 
myWindow = window.open($(this).attr("href"), "emailPage", "width=670, height=590");
			myWindow.focus();
			return false;
				})
		
    $('A[rel="external"]').click( function() {
        window.open( $(this).attr('href') );
        return false;
    });

			
});
