var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950663&docid=68601978&x=114',
		'title': '',
		'imageId': '68601978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950663&docid=68601975&x=114',
		'title': '',
		'imageId': '68601975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950663&docid=68601977&x=114',
		'title': '',
		'imageId': '68601977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950663&docid=68601980&x=114',
		'title': '',
		'imageId': '68601980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950663&docid=68601976&x=114',
		'title': '',
		'imageId': '68601976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950663&docid=68601972&x=114',
		'title': '',
		'imageId': '68601972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950663&docid=68601979&x=114',
		'title': '',
		'imageId': '68601979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950663&docid=68601974&x=114',
		'title': '',
		'imageId': '68601974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950663&docid=68601981&x=114',
		'title': '',
		'imageId': '68601981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950663&docid=68601973&x=114',
		'title': '',
		'imageId': '68601973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950663';

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