-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
February 2, 2011 : News Games from MATRIX 6 new Matrix games are available and will be in stock next week. You can reserve them now ![more...]
November 25, 2010 : New books in english We add several books on Guadalcanal, Malta and Norway campaigns during WII.[more...]
November 23, 2010 : Discount on HPS games 20% off on all HPS titles. Make your order before november 30, 2010 !!![more...]
July 28, 2010 : New Model Kits and Figures With add several dozens of Model Kits and Figures to our catalog, mostly 1/72 Scale.
July 27, 2010 : New Games from Matrix Six new games are available from Matrix with the excellent Command Ops. Close Combat Arnhem and Field of Glory Immortal Fire will be in stock early august.[more...]
May 17, 2010 : Computer Games Several new titles from HPS, Matrix and Battlefront are availables.[more...]
April 27, 2010 : New Wargames We add a dozen of new wargames to our catalog.[more...]
April 7, 2010 : The Grognards are ready to ship HistWar : Les Grognards, the new computer game in development since 8 years is finally available and in stock. It's an innovative system game on the Napoleonic Era. We shipped it from USA with low shipping cost for american customers.[more...]
March 19, 2010 : New low prices for GMT wargames Seven games with new low prices. Restock will be at the Office early april for products not actually in stock.[more...]
March 17, 2010 : Dragon Action Figure 1/6 14 new references will be at the Office with our next shipment, early april. Don't miss them. This is, as usually, limited series.[more...]
February 26, 2010 : News Battlefront Games New Battlefront Games are in Stok : PT Boats Knights of the Sea, Theatre of War 2 Centauro et Empires of Steel.[more...]
February 2, 2010 : Great Discounts +1000 products with discount up to 50% of. All in stock !!![more...]
January 9, 2010 : Mars Figures 26 new references from Mars (1/72 scale plastic unpainted figures)[more...]
December 12, 2009 : News Model Kits +20 new painted and Assembled planes from Hobby Master (mostly 1/72 scale). As always, limited edition ![more...]