var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945335&x=5935',
		'title': '',
		'imageId': '68945335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945337&x=5935',
		'title': '',
		'imageId': '68945337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945342&x=5935',
		'title': '',
		'imageId': '68945342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945331&x=5935',
		'title': '',
		'imageId': '68945331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945332&x=5935',
		'title': '',
		'imageId': '68945332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945333&x=5935',
		'title': '',
		'imageId': '68945333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945334&x=5935',
		'title': '',
		'imageId': '68945334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945340&x=5935',
		'title': '',
		'imageId': '68945340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945336&x=5935',
		'title': '',
		'imageId': '68945336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945338&x=5935',
		'title': '',
		'imageId': '68945338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945339&x=5935',
		'title': '',
		'imageId': '68945339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952212&docid=68945341&x=5935',
		'title': '',
		'imageId': '68945341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952212';

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