function popWindow(displaypage,xwidth,ywidth,xloc,yloc,scroll,resize,toolbar) {



var winPar



if (xwidth) {



winPar = winPar + ',width='+xwidth

}



if (ywidth) {

winPar = winPar + ',height='+ywidth

}



if (xloc) {

winPar = winPar + ',screenX='+xloc+',left='+xloc

}



if (yloc) {

winPar = winPar + ',screenY='+yloc+',top='+yloc

}



if (scroll) {

winPar = winPar + ',scrollbars='+scroll

}



if (resize) {

winPar = winPar + ',resizable='+resize

}



if (toolbar) {

winPar = winPar + ',toolbar='+toolbar

}



if (winPar) {

	window.open(displaypage,'window1',winPar);

	}

	else {

	window.open(displaypage,'window1');

	}

	

}



function popWindow2(displaypage,xwidth,ywidth,xloc,yloc,scroll,resize,toolbar) {



var winPar



if (xwidth) {



winPar = winPar + ',width='+xwidth

}



if (ywidth) {

winPar = winPar + ',height='+ywidth

}



if (xloc) {

winPar = winPar + ',screenX='+xloc+',left='+xloc

}



if (yloc) {

winPar = winPar + ',screenY='+yloc+',top='+yloc

}



if (scroll) {

winPar = winPar + ',scrollbars='+scroll

}



if (resize) {

winPar = winPar + ',resizable='+resize

}



if (toolbar) {

winPar = winPar + ',toolbar='+toolbar

}



if (winPar) {

	window.open(displaypage,'window2',winPar);

	}

	else {

	window.open(displaypage,'window2');

	}

	

}







function popWindow3(displaypage,xwidth,ywidth,xloc,yloc,scroll,resize,toolbar) {



var winPar



if (xwidth) {



winPar = winPar + ',width='+xwidth

}



if (ywidth) {

winPar = winPar + ',height='+ywidth

}



if (xloc) {

winPar = winPar + ',screenX='+xloc+',left='+xloc

}



if (yloc) {

winPar = winPar + ',screenY='+yloc+',top='+yloc

}



if (scroll) {

winPar = winPar + ',scrollbars='+scroll

}



if (resize) {

winPar = winPar + ',resizable='+resize

}



if (toolbar) {

winPar = winPar + ',toolbar='+toolbar

}



if (winPar) {

	window.open(displaypage,'window3',winPar);

	}

	else {

	window.open(displaypage,'window3');

	}

	

}

function popWindow6(displaypage,xwidth,ywidth,scroll,resize,toolbar) {



var winPar



if (xwidth) {



winPar = winPar + ',width='+xwidth

}



if (ywidth) {

winPar = winPar + ',height='+ywidth

}



if (scroll) {

winPar = winPar + ',scrollbars='+scroll

}



if (resize) {

winPar = winPar + ',resizable='+resize

}



if (toolbar) {

winPar = winPar + ',toolbar='+toolbar

}



if (winPar) {

	window.open(displaypage,'window2',winPar);

	}

	else {

	window.open(displaypage,'window2');

	}

	

}
function popWindow7(displaypage,xwidth,ywidth,scroll,resize,toolbar) {



var winPar



if (xwidth) {



winPar = winPar + ',width='+xwidth

}



if (ywidth) {

winPar = winPar + ',height='+ywidth

}



if (scroll) {

winPar = winPar + ',scrollbars='+scroll

}



if (resize) {

winPar = winPar + ',resizable='+resize

}



if (toolbar) {

winPar = winPar + ',toolbar='+toolbar

}



if (winPar) {

	window.open(displaypage,'window2',winPar);

	}

	else {

	window.open(displaypage,'window2');

	}

	

}

function popWindow8(displaypage,xwidth,ywidth,scroll,resize,toolbar) {



var winPar



if (xwidth) {



winPar = winPar + ',width='+xwidth

}



if (ywidth) {

winPar = winPar + ',height='+ywidth

}



if (scroll) {

winPar = winPar + ',scrollbars='+scroll

}



if (resize) {

winPar = winPar + ',resizable='+resize

}



if (toolbar) {

winPar = winPar + ',toolbar='+toolbar

}



if (winPar) {

	window.open(displaypage,'window2',winPar);

	}

	else {

	window.open(displaypage,'window2');

	}

	

}

function popWindow9(displaypage,xwidth,ywidth,scroll,resize,toolbar) {



var winPar



if (xwidth) {



winPar = winPar + ',width='+xwidth

}



if (ywidth) {

winPar = winPar + ',height='+ywidth

}



if (scroll) {

winPar = winPar + ',scrollbars='+scroll

}



if (resize) {

winPar = winPar + ',resizable='+resize

}



if (toolbar) {

winPar = winPar + ',toolbar='+toolbar

}



if (winPar) {

	window.open(displaypage,'window2',winPar);

	}

	else {

	window.open(displaypage,'window2');

	}

	

}

function popWindow10(displaypage,xwidth,ywidth,scroll,resize,toolbar) {



var winPar



if (xwidth) {



winPar = winPar + ',width='+xwidth

}



if (ywidth) {

winPar = winPar + ',height='+ywidth

}



if (scroll) {

winPar = winPar + ',scrollbars='+scroll

}



if (resize) {

winPar = winPar + ',resizable='+resize

}



if (toolbar) {

winPar = winPar + ',toolbar='+toolbar

}



if (winPar) {

	window.open(displaypage,'window2',winPar);

	}

	else {

	window.open(displaypage,'window2');

	}

	

}
