var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262787&x=4953',
		'title': '',
		'imageId': '69262787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262789&x=4953',
		'title': '',
		'imageId': '69262789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262790&x=4953',
		'title': '',
		'imageId': '69262790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262791&x=4953',
		'title': '',
		'imageId': '69262791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262792&x=4953',
		'title': '',
		'imageId': '69262792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262793&x=4953',
		'title': '',
		'imageId': '69262793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262794&x=4953',
		'title': '',
		'imageId': '69262794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262795&x=4953',
		'title': '',
		'imageId': '69262795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262803&x=4953',
		'title': '',
		'imageId': '69262803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262797&x=4953',
		'title': '',
		'imageId': '69262797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262799&x=4953',
		'title': '',
		'imageId': '69262799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980070&docid=69262800&x=4953',
		'title': '',
		'imageId': '69262800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980070';

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";
	})
}
