/* 
 * Developed at Six Foot Studios, Six Foot LLC
 * created on Apr 27, 2009
 */
function make_swffont(id, text, command, font, color, size, width)
{
    var swffont_id = 'swffont-'+id;
    var swffont_flashvars = 'string='+text+'&object_name='+id+'&color='+color+'&font='+font+'&fontsize='+size+'&command='+command+'';
    var swffont_html = '<object id="'+swffont_id+'" name="'+swffont_id+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+width+'" height="1000">';
	swffont_html +='<param name="movie" value="'+SITE_ROOT+'/swf/font.swf" />';
	swffont_html +='<param name="wmode" value="transparent" />';
    swffont_html +='<param name="flashvars" value="'+swffont_flashvars+'" />';
	swffont_html +='<!--[if !IE]>-->';
	swffont_html +='<object id="'+swffont_id+'" name="'+swffont_id+'" wmode="transparent" type="application/x-shockwave-flash" flashvars="'+swffont_flashvars+'"  data="'+SITE_ROOT+'/swf/font.swf" width="'+width+'" height="1000">';
	swffont_html +='<!--[endif]-->';
	swffont_html +='<!--[if !IE]>-->';
    swffont_html +='</object>';
	swffont_html +='<!--[endif]-->';
	swffont_html +='</object>';
    $(id).update( swffont_html );
}
function resize_swffont(id, height_int)
{
    height_int = parseInt(height_int) + 10;
    $( id ).setAttribute('height', height_int);
}
function goto_url( url_str )
{
    location.href= url_str;
}