/* function to change title attributes and status line mouseovers and set target="_blank" for the CDWOW CD chart */
function cdwow_cdchart_changes ()
{
for (var i=0; i<document.links.length; i++)
	{
	if (document.links[i].href.indexOf('cd-wow')>-1)
		{
		if (document.links[i].href.indexOf('product_code')>-1)
			{
			document.links[i].title='click here to look at this CD at CD-WOW!';
			document.links[i].target='_blank';
			document.links[i].onmouseover=function(){window.status='click here to look at this CD at CD WOW!';return true;};		
			document.links[i].onmouseout=function(){window.status=' ';return true;};
			}
		else if (document.links[i].href.indexOf('add2cart')>-1)
			{
			document.links[i].title='click here to buy this CD at CD-WOW!';
			document.links[i].target='_blank';
			document.links[i].onmouseover=function(){window.status='click here to buy this CD at CD WOW!';return true;};		
			document.links[i].onmouseout=function(){window.status=' ';return true;};
			}
		else
			{
			document.links[i].title='click here to visit CD-WOW! for all the best chart and new release CD bargains';
			document.links[i].target='_blank';
			document.links[i].onmouseover=function(){window.status='click here to visit CD-WOW! for all the best chart and new release CD bargains';return true;};		
			document.links[i].onmouseout=function(){window.status=' ';return true;};
			}
		}
	}
	
for (var i=0; i<document.images.length; i++)
	{
	if ((document.images[i].src.indexOf('cd-wow')>-1) && (document.images[i].src.indexOf('468x32')>-1))
		{
		document.images[i].alt='click here to visit CD-WOW! for all the best chart and new release CD bargains';
		document.images[i].title='click here to visit CD-WOW! for all the best chart and new release CD bargains';
		}
	}
}

/* function to change title attributes and status line mouseovers and set target="_blank" for the CDWOW DVD chart */
function cdwow_dvdchart_changes ()
{
for (var i=0; i<document.links.length; i++)
	{
	if (document.links[i].href.indexOf('cd-wow')>-1)
		{
		if (document.links[i].href.indexOf('product_code')>-1)
			{
			document.links[i].title='click here to look at this DVD at CD-WOW!';
			document.links[i].target='_blank';
			document.links[i].onmouseover=function(){window.status='click here to look at this DVD at CD WOW!';return true;};		
			document.links[i].onmouseout=function(){window.status=' ';return true;};
			}
		else if (document.links[i].href.indexOf('add2cart')>-1)
			{
			document.links[i].title='click here to buy this DVD at CD-WOW!';
			document.links[i].target='_blank';
			document.links[i].onmouseover=function(){window.status='click here to buy this DVD at CD WOW!';return true;};		
			document.links[i].onmouseout=function(){window.status=' ';return true;};
			}
		else
			{
			document.links[i].title='click here to visit CD-WOW! for all the best chart and new release DVD bargains';
			document.links[i].target='_blank';
			document.links[i].onmouseover=function(){window.status='click here to visit CD-WOW! for all the best chart and new release DVD bargains';return true;};		
			document.links[i].onmouseout=function(){window.status=' ';return true;};
			}
		}
	}
	
for (var i=0; i<document.images.length; i++)
	{
	if ((document.images[i].src.indexOf('cd-wow')>-1) && (document.images[i].src.indexOf('280x32')>-1))
		{
		document.images[i].alt='click here to visit CD-WOW! for all the best chart and new release DVD bargains';
		document.images[i].title='click here to visit CD-WOW! for all the best chart and new release DVD bargains';
		}
	}
}