var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968620&docid=68990560&x=54',
		'title': '',
		'imageId': '68990560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968620&docid=68990569&x=54',
		'title': '',
		'imageId': '68990569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968620&docid=68990563&x=54',
		'title': '',
		'imageId': '68990563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968620&docid=68990564&x=54',
		'title': '',
		'imageId': '68990564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968620&docid=68990568&x=54',
		'title': '',
		'imageId': '68990568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968620&docid=68990561&x=54',
		'title': '',
		'imageId': '68990561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968620&docid=68990562&x=54',
		'title': '',
		'imageId': '68990562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968620&docid=68990566&x=54',
		'title': '',
		'imageId': '68990566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968620&docid=68990565&x=54',
		'title': '',
		'imageId': '68990565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968620&docid=68990567&x=54',
		'title': '',
		'imageId': '68990567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968620';

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