//ポータルへのリンクフラッシュ
function mainLink(){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"330\" height=\"40\"><param name=\"movie\" value=\"./flash/logo.swf\"><param name=\"quality\" value=\"high\"><embed src=\"./flash/logo.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"330\" height=\"40\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}

//プレイヤーの各フラッシュ
function top(s_id,vfilename,loading,xml_path){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"345\" height=\"388\"><param name=\"movie\" value=\"./flash/top.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&loading=" + loading + "&xml_path=" + xml_path + "\"><embed src=\"./flash/top.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"345\" height=\"388\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&loading=" + loading + "&xml_path=" + xml_path + "\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}


//プレイヤーのライブチャット
function liveChat(s_id,userid,username,xml_path){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"691\" height=\"388\" id=\"livechat\"><param name=\"movie\" value=\"../../flash/livechat.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"storeid=" + s_id + "&userid=" + userid + "&username=" + username + "&xml_path=" + xml_path + "\"><embed src=\"../../flash/livechat.swf\" name=\"livechat\" width=\"691\" height=\"388\" flashvars=\"storeid=" + s_id + "&userid=" + userid + "&username=" + username + "&xml_path=" + xml_path + "\" quality=\"high\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close();
}


//プレイヤーのサムネイル
function thumbNail(width, height, s_id, v_filename, p_id, xml_path, type){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" class=\"line\" id=\"movieThumbnail\"><param name=\"movie\" value=\"http://www.erozo.jp/LG-Player/Gerencia/movieUtil/movieThumbnail.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + v_filename + "&vfilename2=" + type + ":" + p_id + "&loading=&xml_path=" + xml_path + "\"><embed src=\"http://www.erozo.jp/LG-Player/Gerencia/movieUtil/movieThumbnail.swf\" name=\"movieThumbnail\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + v_filename + "&vfilename2=" + type + ":" + p_id + "&loading=&xml_path=" + xml_path + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}


//ミニサムネイル（動画個別表示）
function miniThumbNail(width, height, s_id, vfilename, xml_path){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"movieThumbnail.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&xml_path=" + xml_path + "\"><embed src=\"movieThumbnail.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&xml_path=" + xml_path + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}

//ミニサムネイルプレイヤー（動画個別表示）
function miniThumbNailPlayer(width, height, s_id, vfilename, xml_path){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"movieThumbnailPlayer.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&xml_path=" + xml_path + "\"><embed src=\"movieThumbnailPlayer.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&xml_path=" + xml_path + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}


//ビュワー
function viewer(viewerPath, width, height, s_id, vfilelist, xml_path, os){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"" + viewerPath + "viewer.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilelist=" + vfilelist + "&xml_path=" + xml_path + "&os=" + os + "\"><embed src=\"" + viewerPath + "viewer.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilelist=" + vfilelist + "&xml_path=" + xml_path + "&os=" + os + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}


//プレイヤーのサムネイル
function jumpThumbNail(width, height, s_id, v_filename, p_id, xml_path, type,url){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" class=\"line\" id=\"movieThumbnail\"><param name=\"movie\" value=\"http://www.erozo.jp/LG-Player/Gerencia/movieUtil/jumpMovieThumbnail.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + v_filename + "&vfilename2=" + type + ":" + p_id + "&loading=&xml_path=" + xml_path + "&url=" + url +  "\"><embed src=\"http://www.erozo.jp/LG-Player/Gerencia/movieUtil/jumpMovieThumbnail.swf\" name=\"movieThumbnail\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + v_filename + "&vfilename2=" + type + ":" + p_id + "&loading=&xml_path=" + xml_path + "&url=" + url +  "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}


//ミニサムネイル（イメージを読み込む動画個別表示）
function miniThumbNail2(width, height, s_id, vfilename, vfilename2, img_path){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"./thumbnail.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "\"><embed src=\"./thumbnail.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}

//サファリ用ミニサムネイル（イメージを読み込む動画個別表示）
function miniThumbNail_safari(width, height, s_id, vfilename, vfilename2, img_path){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"./safari_thumbnail.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "\"><embed src=\"./safari_thumbnail.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}


//ミニサムネイル（イメージを読み込む動画個別表示）
function miniThumbNail2_logonashi(width, height, s_id, vfilename, vfilename2, img_path){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"./thumbnail_logo_nashi.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "\"><embed src=\"./thumbnail_logo_nashi.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}

//サファリ用ミニサムネイル（イメージを読み込む動画個別表示）
function miniThumbNail_safari_logonashi(width, height, s_id, vfilename, vfilename2, img_path){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"./safari_thumbnail_logo_nashi.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "\"><embed src=\"./safari_thumbnail_logo_nashi.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}




//ミニサムネイル（cmsへリンク）
function miniThumbNail2_cms(width, height, s_id, vfilename, vfilename2, img_path, subdomain){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"./thumbnail_cms.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "&subdomain=" + subdomain + "\"><embed src=\"./thumbnail_cms.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "&subdomain=" + subdomain + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}

//サファリ用ミニサムネイル（cmsへリンク）
function miniThumbNail_safari_cms(width, height, s_id, vfilename, vfilename2, img_path, subdomain){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"./safari_thumbnail_cms.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "&subdomain=" + subdomain + "\"><embed src=\"./safari_thumbnail_cms.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "&subdomain=" + subdomain + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}


//ミニサムネイル（cmsへリンク）
function miniThumbNail2_logonashi_cms(width, height, s_id, vfilename, vfilename2, img_path, subdomain){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"./thumbnail_logo_nashi_cms.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "&subdomain=" + subdomain + "\"><embed src=\"./thumbnail_logo_nashi_cms.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "&subdomain=" + subdomain + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}

//サファリ用ミニサムネイル（cmsへリンク）
function miniThumbNail_safari_logonashi_cms(width, height, s_id, vfilename, vfilename2, img_path, subdomain){
    myStr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\" id=\"viewer\"><param name=\"movie\" value=\"./safari_thumbnail_logo_nashi_cms.swf\"><param name=\"quality\" value=\"high\"><param name=\"flashvars\" value=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "&subdomain=" + subdomain + "\"><embed src=\"./safari_thumbnail_logo_nashi_cms.swf\" name=\"viewer\" width=\"" + width + "\" height=\"" + height + "\" flashvars=\"id=" + s_id + "&vfilename=" + vfilename + "&vfilename2=" + vfilename2 + "&widthp=" + width + "&heightp=" + height + "&img_path=" + img_path + "&subdomain=" + subdomain + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>";
    document.open();
    document.write(myStr);
    document.close(); 
}

