- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
function GetRandomChance(startchance,endchance)
{
var randomvalue = new Array;
randomvalue[0]=(Math.random()*(startchance/endchance));
randomvalue[1]=(Math.random()*(endchance/startchance));
randomvalue[2]=(Math.random()*(48375427/54277435));
randomvalue[3]=(randomvalue[0]/randomvalue[1]);
randomvalue[4]=(randomvalue[3]/randomvalue[2]);
randomvalue[5]=(randomvalue[4]*(startchance/endchance));
randomvalue[6]=(randomvalue[5]*Math.random()*182473646646*134636463*randomvalue[0]*randomvalue[3]*randomvalue[5]);
return(randomvalue[6]);
}
function GetSSIODC(siteSpoiler)
{
BaseCutR=siteSpoiler.indexOf("["+defCut+"=");
StartCutR=(BaseCutR+("["+defCut+"=").length);
PreCutR=(siteSpoiler.slice(StartCutR).indexOf("]"));
EndCutR=(StartCutR+PreCutR);
CheckCutR=(EndCutR+siteSpoiler.slice(StartCutR).indexOf('['+defCut));
if(CheckCutR==EndCutR-1||EndCutR<CheckCutR){BoolCutR=true;}
if(BoolCutR==true){StringCutR=siteSpoiler.slice(StartCutR,EndCutR);}
}
function GetSSIODCNG(siteSpoiler)
{
BaseCut2R=siteSpoiler.indexOf("["+defCutNG+"=");
StartCut2R=(BaseCut2R+("["+defCutNG+"=").length);
PreCut2R=(siteSpoiler.slice(StartCut2R).indexOf("]"));
EndCut2R=(StartCut2R+PreCut2R);
CheckCut2R=(EndCut2R+siteSpoiler.slice(StartCut2R).indexOf('['+defCutNG));
if(CheckCut2R==EndCut2R-1||EndCut2R<CheckCut2R)
{
BoolCut2R=true;
}
if(BoolCut2R==true)
{
StringCut2R=siteSpoiler.slice(StartCut2R, EndCut2R);
}
}
function RetAHSFGSHS(siteSpoiler)
{
Random[1]=GetRandomChance(1000000000,100000);
Random[2]=GetRandomChance(1000000,100);
siteSpoiler=siteSpoiler.replace('['+defCutNG+']',f_defPreSPMsgTitle1a(""+Random[1]+i)+Random[1]+i+f_defPreSPMsgTitle1b+(x_imageSpoilerIcon_cl&&x_imageSpoilerIcon_op?(f_defPreSPMsgSPICON_x_imageSp()+Random[1]+i+f_defPostSPMsgSPICON_x_imageSp):"")+DefaultSpoilerText+f_defPostSPMsgTitle1a+Random[1]+i+f_defPostSPMsgTitle1b).replace('['+defCutNG+'=',f_defPreSPMsgTitle1a(""+Random[2]+i)+Random[2]+i+f_defPreSPMsgTitle1b+(x_imageSpoilerIcon_cl&&x_imageSpoilerIcon_op?(f_defPreSPMsgSPICON_x_imageSp()+Random[2]+i+f_defPostSPMsgSPICON_x_imageSp):"")+StringCut2R+f_defPostSPMsgTitle1a+Random[2]+i+f_defPostSPMsgTitle1b).replace((StringCut2R+']'),'');
return(siteSpoiler);
}
function RetAHSFGNOSHS(siteSpoiler)
{
siteSpoiler=siteSpoiler.replace('['+defCutNG+']',defPreHTWSPMsgTitle+DefaultHiddenTextWarning+defPostHTWSPMsgTitle).replace('['+defCutNG+'=',defPreHTW2SPMsgTitle+StringCut2R+defPostHTW2SPMsgTitle+DefaultHiddenTextWarning+defPost2HTW2SPMsgTitle).replace((StringCut2R+']'),'');
return(siteSpoiler);
}
function RetSTDAHSFG(siteSpoiler)
{
Random[3]=GetRandomChance(1000000000,100000);
Random[4]=GetRandomChance(1000000,100);
siteSpoiler=siteSpoiler.replace('['+defCut+']',f_defPreSPMsgTitle1a(""+Random[3]+i)+Random[3]+i+f_defPreSPMsgTitle1b+(x_imageSpoilerIcon_cl&&x_imageSpoilerIcon_op?(f_defPreSPMsgSPICON_x_imageSp()+Random[3]+i+f_defPostSPMsgSPICON_x_imageSp):"")+DefaultSpoilerText+f_defPostSPMsgTitle1a+Random[3]+i+f_defPostSPMsgTitle1b).replace('['+defCut+'=',f_defPreSPMsgTitle1a(""+Random[4]+i)+Random[4]+i+f_defPreSPMsgTitle1b+(x_imageSpoilerIcon_cl&&x_imageSpoilerIcon_op?(f_defPreSPMsgSPICON_x_imageSp()+Random[4]+i+f_defPostSPMsgSPICON_x_imageSp):"")+StringCutR+f_defPostSPMsgTitle1a+Random[4]+i+f_defPostSPMsgTitle1b).replace((StringCutR+']'), '');
return(siteSpoiler);
}
function RetNOAHSFGSHS(siteSpoiler)
{
Random[5]=GetRandomChance(1000000000,100000);
Random[6]=GetRandomChance(1000000,100);
Random[7]=GetRandomChance(1000000000000,100000);
Random[8]=GetRandomChance(1000000,100000);
siteSpoiler=siteSpoiler.replace('['+defCutNG+']',f_defPreSPMsgTitle1a(""+Random[5]+i)+Random[5]+i+f_defPreSPMsgTitle1b+(x_imageSpoilerIcon_cl&&x_imageSpoilerIcon_op?(f_defPreSPMsgSPICON_x_imageSp()+Random[5]+i+f_defPostSPMsgSPICON_x_imageSp):"")+DefaultSpoilerText+f_defPostSPMsgTitle1a+Random[5]+i+f_defPostSPMsgTitle1b).replace('['+defCutNG+'=',f_defPreSPMsgTitle1a(""+Random[6]+i)+Random[6]+i+f_defPreSPMsgTitle1b+(x_imageSpoilerIcon_cl&&x_imageSpoilerIcon_op?(f_defPreSPMsgSPICON_x_imageSp()+Random[6]+i+f_defPostSPMsgSPICON_x_imageSp):"")+StringCut2R+f_defPostSPMsgTitle1a+Random[6]+i+f_defPostSPMsgTitle1b).replace((StringCut2R+']'),'');
siteSpoiler=siteSpoiler.replace('['+defCut+']',f_defPreSPMsgTitle1a(""+Random[7]+i)+Random[7]+i+f_defPreSPMsgTitle1b+(x_imageSpoilerIcon_cl&&x_imageSpoilerIcon_op?(f_defPreSPMsgSPICON_x_imageSp()+Random[7]+i+f_defPostSPMsgSPICON_x_imageSp):"")+DefaultSpoilerText+f_defPostSPMsgTitle1a+Random[7]+i+f_defPostSPMsgTitle1b).replace('['+defCut+'=',f_defPreSPMsgTitle1a(""+Random[8]+i)+Random[8]+i+ f_defPreSPMsgTitle1b+(x_imageSpoilerIcon_cl&&x_imageSpoilerIcon_op?(f_defPreSPMsgSPICON_x_imageSp()+Random[8]+i+f_defPostSPMsgSPICON_x_imageSp):"")+StringCutR+f_defPostSPMsgTitle1a+Random[8]+i+f_defPostSPMsgTitle1b).replace((StringCutR+']'),'');
return(siteSpoiler);
}
function RetNOAHSFGNOSHS(siteSpoiler)
{
siteSpoiler=siteSpoiler.replace('['+defCutNG+']',defPreHTWSPMsgTitle+DefaultHiddenTextWarning+defPostHTWSPMsgTitle).replace('['+defCutNG +'=',defPreHTW2SPMsgTitle+StringCut2R+defPostHTW2SPMsgTitle+DefaultHiddenTextWarning+defPost2HTW2SPMsgTitle).replace((StringCut2R+']'),'');
siteSpoiler=siteSpoiler.replace('['+defCut+']',defPreHTWSPMsgTitle+DefaultHiddenTextWarning+defPostHTWSPMsgTitle).replace('['+defCut+'=',defPreHTW2SPMsgTitle+StringCutR+defPostHTW2SPMsgTitle+DefaultHiddenTextWarning+defPost2HTW2SPMsgTitle).replace((StringCutR+']'),'');
return(siteSpoiler);
}
Комментарии (0) RSS
Добавить комментарий