
function openwin(win,w,h){
var features="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top=30,left=20,"+"width="+w+",height="+h;
window.open(win,"s_win",features);
}

//--会員登録ページURL送信
function openwin() {
        window.open("http://www.0120944891.com/mailsend.htm", "", "width=500,height=250");
}

//--パスワード再送信
function openwin2() {
        window.open("http://www.0120944891.com/pwdsend.htm", "", "width=500,height=210");
}


function dpSmartLink(u,n,w,h,p) { // v1.4 by David Powers
  var a,j,k,x,y,f='';if(!n){n='';}if(w){f+='width='+w+',';}if(h){f+='height='+h+',';}
  if(p){p=p.split(':');if(p[0]!='z'){p[0]=='c'?(x=(screen.width-w)/2):x=p[0];f+='left='+x+',';}
  if(p[1]!='z'){if(p[0]=='c'){y=(screen.height-h-p[1])/2;if(navigator.appName.indexOf('Op')!=-1){
  y-=96;y=y<0?0:y;}}else{y=p[1];}f+='top='+y+',';}}a=arguments.length;if(a>5){for (k=5;k<a;k++){
  switch(arguments[k]){case 'all':f+='toolbar,menubar,location,scrollbars,status,resizable,';break;
  case 't':f+='toolbar,';break; case 'm':f+='menubar,';break;case 'l':f+='location,';break;
  case 'sc':f+='scrollbars,';break;case 's':f+='status,';break;case 'r':f+='resizable,';}}}
  if(f.charAt(f.length-1)==','){f=f.slice(0,-1);}j=window.open(u,n,f);j.focus();
  document.MM_returnValue=false;
}

//--Message Strip
 var sped1="200";
 var sped2="1";
fmsg1="新規会員登録でポイントプレゼント中!!　最高500ポイントが当たります。"; 
fmsg2="会員登録完了後に表示されるスロットゲームでポイントを当てよう!"; 
fblk1="　　　　　　　　　"; 
fblk2=fblk1+fblk1
fms=fblk2+fmsg1+fblk2+fmsg2;
  function fmsc(){ 
        setTimeout("fmsc()",sped1); 
      	fms=fms.substring(sped2,fms.length)+fms.substring(0,sped2);
      	document.mssform.msstext.value =fms;
  }
