var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936993&docid=68291811&x=1659',
		'title': '',
		'imageId': '68291811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936993&docid=68291815&x=1659',
		'title': '',
		'imageId': '68291815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936993&docid=68291819&x=1659',
		'title': '',
		'imageId': '68291819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936993&docid=68291817&x=1659',
		'title': '',
		'imageId': '68291817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936993&docid=68291818&x=1659',
		'title': '',
		'imageId': '68291818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936993&docid=68291812&x=1659',
		'title': '',
		'imageId': '68291812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936993&docid=68291813&x=1659',
		'title': '',
		'imageId': '68291813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936993&docid=68291814&x=1659',
		'title': '',
		'imageId': '68291814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936993&docid=68291816&x=1659',
		'title': '',
		'imageId': '68291816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936993&docid=68291820&x=1659',
		'title': '',
		'imageId': '68291820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936993';

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