leftpos = 0
if (screen) {
	leftpos = (screen.width/2)-200
}

toppos = 0
if (screen) {
	toppos = (screen.height/2)-210
}

leftpos2 = 0
if (screen) {
	leftpos2 = (screen.width/2)-342
}

toppos2 = 0
if (screen) {
	toppos2 = (screen.height/2)-330
}


if (document.all && /MSIE (5\.5|6)/.test(navigator.userAgent) && 
  document.styleSheets && document.styleSheets[0] && document.styleSheets[0].addRule)
{
  document.styleSheets[0].addRule('*', 'behavior: url(../iepngfix.htc)');
}

function slideshow(newimg) {
	document.sampleimg.src='portfolioimages/'+newimg
}

function popwin(theURL,winName,features) { 
  window.open(theURL,winName,features);
  return false;
}