window.addEvent('domready', function() {

/********************************************************

      C C C C      X     X   S S S  V           V
    C         C     X   X   S     S  V         V
   C    CCC    C     X X    S         V       V
  C    C        C     X      S S S     V     V
   C    CCC    C     X X          S     V   V
    C         C     X   X   S     S      V V
      C C C C      X     X   S S S        V
	  
 Created by Josh Reid for GO Brand Copyright 2009 
 
*********************************************************/
	
	// External Links: Target New Window (_blank)
	var extLinks = $$('a[rel="extLink"]','.extLink');
	extLinks.each(function(extLink, i) {
		
		extLink.target = '_blank';
		
	});
	
	var smoothlyScroll = new SmoothScroll({
		links: 'a.smoothly'
	});
	
	// TOOL TIPS - minimum a's to get: '#hlink a','#menu a'
/*	var tipMe = new Tips($$('a','abbr'), {
		showDelay: 1300,
		offsets: {'x':16,'y':8},
		
		initialize:function(){
			this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 300, wait: false}).set(0);
		},
		onShow: function(toolTip) {
			
			this.fx.start(1);
		},
		onHide: function(toolTip) {
			this.fx.start(0);
		}
	});
*/	
});
/* END DOM READY */

function changeImg(imgNum) {
	if ($('sspInsert')) {
		$('sspInsert').changeImg(imgNum);
	}
}
