// DUBHAPPY.COM, RIGHTS RESERVED
function delayinit(){
	// Insert Chat
	if ( get('chatbox') !== false ){
	get('chatbox').innerHTML = '';
	// var src = 'http://st.chatango.com/flash/group.swf?ref=www.dubhappy.com&gn=dub--happy.chatango.com&cid=1207421367333&a=242424&b=100&c=FFFFFF&d=FFFFFF&e=000000&g=FFFFFF&l=999999&q=999999&r=100&s=1&t=0&ab=0';
	var src = 'http://st.chatango.com/flash/group.swf?ref=dubhappy.com&gn=dh-chat.chatango.com&cid=1247103393344&a=242424&b=100&c=FFFFFF&d=FFFFFF&e=000000&g=FFFFFF&l=999999&q=999999&r=100&s=1&t=0&ab=0';
	var names = ['wmode','allowscriptaccess','allownetworking'];
	var vals = ['transparent','always','internal'];
	aO( get('chatbox'), 'application/x-shockwave-flash', src, names, vals, 'chat' );
	get('chatexiter').style.color = '#000000';
	get('chatsizer').style.color = '#000000';
	get('chatexiter').style.visibility = 'visible';
	get('chatsizer').style.visibility = 'visible';
	animX = 255;
	clk = self.setInterval( animChat, 50 );
	}
	delete delayinit;
}

function init(){
	// Add footer links
	// var obj = get('footerContent');
	// var href = [['HostGator','http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=dadtech'],['AdBrite','http://www.adbrite.com/mb/landing_both.php?spid=94181&afb=120x60-1-blue'],['Chitika','http://chitika.com/publishers.php?refid=MrApples'],['Download Anime','/download.php'],['Advertise','http://chitika.com/blog/mediakit/?refid=MrApples']];
	// for( i = 0; i < href.length; i = i+1 ){
	// 	aL( obj, href[i][1], href[i][0], '_blank' );
	// }
	// Multi vid
	// var x = 1;
	// var t = '';
	// var vcd = document.createElement('p');
	// aT( vcd, 'Switch Video' );
	// while ( get('v'+x) !== false ){
	// 	t = get('v'+x).title || 'Video '+x;
	// 	aT( vcd, ' - ' );
	//	aL ( vcd, 'javascript:toggleV('+x+');', t );
	//	x++;
	// }
	// if ( x > 2 ){ 
	// 	get('vc').style.display = 'block'; 
	// 	get('vc').appendChild( vcd );
	// }
	// if ( get('video') === false ){
		// Hide DL Links
	// 	if ( get('animedlbox') !== false ){ get('animedlbox').style.display = 'none'; }
	// 	if ( get('animedl2') !== false ){ get('animedl2').style.display = 'none'; }
	// }
	// Start delay
	clk = self.setTimeout( delayinit, 3000 );
	delete init;
}

init();