var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539262&x=1313',
		'title': '',
		'imageId': '68539262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539257&x=1313',
		'title': '',
		'imageId': '68539257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539261&x=1313',
		'title': '',
		'imageId': '68539261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539266&x=1313',
		'title': '',
		'imageId': '68539266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539260&x=1313',
		'title': '',
		'imageId': '68539260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539271&x=1313',
		'title': '',
		'imageId': '68539271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539267&x=1313',
		'title': '',
		'imageId': '68539267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539268&x=1313',
		'title': '',
		'imageId': '68539268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539258&x=1313',
		'title': '',
		'imageId': '68539258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539263&x=1313',
		'title': '',
		'imageId': '68539263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539276&x=1313',
		'title': '',
		'imageId': '68539276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539259&x=1313',
		'title': '',
		'imageId': '68539259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539279&x=1313',
		'title': '',
		'imageId': '68539279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539273&x=1313',
		'title': '',
		'imageId': '68539273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539274&x=1313',
		'title': '',
		'imageId': '68539274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539264&x=1313',
		'title': '',
		'imageId': '68539264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539272&x=1313',
		'title': '',
		'imageId': '68539272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539265&x=1313',
		'title': '',
		'imageId': '68539265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539275&x=1313',
		'title': '',
		'imageId': '68539275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539277&x=1313',
		'title': '',
		'imageId': '68539277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539280&x=1313',
		'title': '',
		'imageId': '68539280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539278&x=1313',
		'title': '',
		'imageId': '68539278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539270&x=1313',
		'title': '',
		'imageId': '68539270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948029&docid=68539269&x=1313',
		'title': '',
		'imageId': '68539269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948029';

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