var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036048&x=2624',
		'title': '',
		'imageId': '70036048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036052&x=2624',
		'title': '',
		'imageId': '70036052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036054&x=2624',
		'title': '',
		'imageId': '70036054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036055&x=2624',
		'title': '',
		'imageId': '70036055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036057&x=2624',
		'title': '',
		'imageId': '70036057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036058&x=2624',
		'title': '',
		'imageId': '70036058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036059&x=2624',
		'title': '',
		'imageId': '70036059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036060&x=2624',
		'title': '',
		'imageId': '70036060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036061&x=2624',
		'title': '',
		'imageId': '70036061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036062&x=2624',
		'title': '',
		'imageId': '70036062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013335&docid=70036063&x=2624',
		'title': '',
		'imageId': '70036063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013335';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
