var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3783649&docid=68730241&x=376',
		'title': '',
		'imageId': '68730241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783649&docid=68730246&x=376',
		'title': '',
		'imageId': '68730246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783649&docid=68730243&x=376',
		'title': '',
		'imageId': '68730243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783649&docid=68730238&x=376',
		'title': '',
		'imageId': '68730238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783649&docid=68730245&x=376',
		'title': '',
		'imageId': '68730245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783649&docid=68730240&x=376',
		'title': '',
		'imageId': '68730240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783649&docid=68730239&x=376',
		'title': '',
		'imageId': '68730239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783649&docid=68730244&x=376',
		'title': '',
		'imageId': '68730244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783649&docid=68730242&x=376',
		'title': '',
		'imageId': '68730242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783649&docid=68730248&x=376',
		'title': '',
		'imageId': '68730248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3783649';

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