var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927335&docid=68071350&x=1217',
		'title': '',
		'imageId': '68071350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927335&docid=68071352&x=1217',
		'title': '',
		'imageId': '68071352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927335&docid=68071353&x=1217',
		'title': '',
		'imageId': '68071353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927335&docid=68071354&x=1217',
		'title': '',
		'imageId': '68071354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927335&docid=68071355&x=1217',
		'title': '',
		'imageId': '68071355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927335&docid=68071356&x=1217',
		'title': '',
		'imageId': '68071356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927335&docid=68071357&x=1217',
		'title': '',
		'imageId': '68071357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927335&docid=68071358&x=1217',
		'title': '',
		'imageId': '68071358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927335&docid=68071359&x=1217',
		'title': '',
		'imageId': '68071359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927335&docid=68071360&x=1217',
		'title': '',
		'imageId': '68071360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927335';

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