function dw(id){
	var randomnumber=Math.floor(Math.random()*1000);
	document.write( 
		
					//'<span style="margin:0 2px 0 0;vertical-align:bottom;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="20" height="12" id="'+randomnumber+'">' + '\n'		  
					//+'<param name="movie" value="http://ktar.com/flash/wimpy_button.swf" />' + '\n' 
					//+'<param name="loop" value="false" />' + '\n' 
					//+'<param name="menu" value="false" />' + '\n' 
					//+'<param name="quality" value="high" />' + '\n' 
					//+'<param name="flashvars" value="theFile=http://icestream.bonnint.net:8000/az'+id+'&playingColor=3A3839&arrowColor=FFFFFF&grinderColor=FFFFFF&theBkgdColor=000000&buttonStyle=square&displayRewindButton=no&wimpyReg=NnE2SlNQJTNGJTI2NiU3RkJZajklMjhZJTVFUmhtREIlMkJ3N2lo&myid='+randomnumber+'" />' + '\n' 
					//+'<embed src="http://ktar.com/flash/wimpy_button.swf" flashvars="theFile=http://icestream.bonnint.net:8000/az'+id+'&playingColor=3A3839&arrowColor=FFFFFF&grinderColor=FFFFFF&theBkgdColor=000000&buttonStyle=square&displayRewindButton=no&wimpyReg=NnE2SlNQJTNGJTI2NiU3RkJZajklMjhZJTVFUmhtREIlMkJ3N2lo&myid='+randomnumber+'" width="20" height="12" loop="false" menu="false" quality="high" name="wimpybutton128" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>' + '\n' 
					//+'</span>'
					'<span style="margin:0 2px 0 0;vertical-align:bottom;"><img src="/images/podcenter/b_play_xsmall.png" width="14px" height="14px" class="png_bg" alt="play audio" onclick="wimpyButtonPlayPause(\'http://icestream.bonnint.net:8000/az'+id+'\')"></span>'
				)
	
}

function cl2010(id,copy){
	if(copy=="" || copy==null){
		copy="click here";	
	}
	document.write( 
		
		//'<span style="color:#004276;font-weight:bold;cursor:pointer;" onclick="wimpyButtonPlayPause(\'http://icestream.bonnint.net:8000/az'+id+'\')">'+copy+'</span>'
		'<a style="color:#004276;font-weight:bold;cursor:pointer;" href="javascript:popit(\'/resources/audio_headlines/segment_player.php?a=1711\');">'+copy+'</a>'
				)
	
}
function dwpop(id){
	var randomnumber=Math.floor(Math.random()*1000);
	document.write( 
					'<a style="margin:0 2px 0 0;vertical-align:bottom;" href="javascript:void(window.open(\'/resources/audio_headlines/segment_player.php?a='+id+'\', \'KTAR\',\'width=250,height=320,status=no,resizable=no,scrollbars=no\'));"><img src="/images/podcenter/b_play_small.png" class="png_bg" alt="play audio" style="border:0;"></a>'
					)
}
function dwpopx(id){
	var randomnumber=Math.floor(Math.random()*1000);
	document.write( 
					'<a style="margin:0 2px 0 0;vertical-align:bottom;" href="javascript:void(window.open(\'/resources/audio_headlines/segment_player.php?a='+id+'\', \'KTAR\',\'width=250,height=320,status=no,resizable=no,scrollbars=no\'));"><img src="/images/podcenter/b_play_xsmall.png" class="png_bg" alt="play audio" style="border:0;"></a>'
					)
}
function clpop(id,copy,pop){
	if(copy=="" || copy==null){
		copy="click here";	
	}
	if(pop==1){

	document.write( 
		'<a style="color:#004276;font-weight:bold;cursor:pointer;" href="javascript:void(window.open(\'/resources/audio_headlines/segment_player.php?a='+id+'\', \'KTAR\',\'width=250,height=320,status=no,resizable=no,scrollbars=no\'));">'+copy+'</a>'	
		)		
		}else{
	document.write( 
		'<span style="color:#004276;font-weight:bold;cursor:pointer;" onclick="wimpyButtonPlayPause(\'http://icestream.bonnint.net:8000/az'+id+'\')">'+copy+'</span>'
		)
		}
}


