-1) {
var s = source.indexOf("", e);
// Add to scripts array
scripts.push(source.substring(s_e+1, e));
// Strip from source
source = source.substring(0, s) + source.substring(e_e+1);
}
// Loop through every script collected and eval it
/*for(var i=0; i0)
targetSelect.remove(0);
var wait=document.createElement('option');
wait.text="...";
try {
targetSelect.add(wait, null);
} catch(e) {
targetSelect.add(wait); //MSIE
}
var strList=ajax(false, 'area='+area);
var rg=/\}\|\{/g;
strList=strList.substring(1, strList.length-1);
var tabList=strList.split(rg);
var i=0;
var list=null;
var element=null;
targetSelect.remove(0); //efface wait
for(key in baseOptions) {
element=document.createElement('option');
element.value=key;
element.text=baseOptions[key];
if(defaultValue==key)
element.selected=true;
try {
targetSelect.add(element, null);
} catch(e) {
targetSelect.add(element); //MSIE
}
}
while(i0)
return retour.substring(1);
return retour;
}
function changeLang(LANG) {
change('LANG='+LANG);
}
function change(args) {
ajax(false, args);
window.location.reload();
}
function checkNumericValue(value) {
return !isNaN(value);
}
//fonction notamment appelee a travers cloak()
function switchDisplay(element, visibilite) {
if(visibilite) {
element.style.visibility='visible';
element.style.display='block';
} else {
element.style.visibility='hidden';
element.style.display='none';
}
}
function blockLoop(millis) {
var date = new Date();
var curDate = null;
do {
curDate = new Date();
} while(curDate-dateinputLength && inputName+'['==x.name.substr(0, inputLength+1)) {
retour[retour.length]=x;
}
}
}
return retour;
}
function addTabledInput(formulaire, nomArray, target, negate, optionalData) {
if(!optionalData)
optionalData='';
var typeInput=getTabledInputsByName(formulaire, nomArray);
var nombre=0;
var str="";
if(typeInput && typeInput.length) {
nombre=typeInput.length;
for(n in typeInput) {
if(!isNaN(n))
str+=" ";
}
}
if(negate) {
nombre=-(nombre+1);
}
target.innerHTML=str+" ";
}
//fonction recuperee depuis http://blog.stevenlevithan.com/archives/faster-trim-javascript
function trim(str) {
str=str.replace(/^\s+/, '');
for(var i=str.length-1;i>=0;i--) {
if(/\S/.test(str.charAt(i))) {
str=str.substring(0, i+1);
break;
}
}
return str;
}
//fonction permettant d'accomplir l'action 'a' lorsque l'event 'e' indique une pression sur enter dans l'input 'o'
//si 'a' est une chaine vide, submit du formulaire parent
//doit etre utilise avec le trigger onkeypress
function enterAction(o, e, a) {
var k;
if(window.event)
k=window.event.keyCode;
else if(e)
k=e.which;
else
return true;
if(k==13) {
if(!a || a=='')
o.form.submit;
else
eval(a);
return false;
}
return true;
}
//fonction pour savoir si un groupe de checkboxes/radios a au moins un de ses elements checked
function groupChecked(group) {
for(var i=0;i
April 1st , 2012 : 15 years Store4war is online since 15 years with now 13000 products in its catalog and nearly 4000 in Stock.
Free Shipping in France and cut in half in the World until monday 2 april midnight. September 21, 2011 : Osprey Publishing. We add a lot of new titles from Osprey Publishing (+70).[more...] September 21, 2011 : Osprey Publishing. We add a lot of new titles from Osprey Publishing (+70).[more...] July 30, 2011 : Panzer Corps Wehrmacht available An old classic revisited by Matrix Games !!![more...] July 27, 2011 : New Squadron Books New books from Squadron Signal are availables and in stock.[more...]