var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745523&x=3525',
		'title': '',
		'imageId': '68745523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745531&x=3525',
		'title': '',
		'imageId': '68745531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745522&x=3525',
		'title': '',
		'imageId': '68745522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745528&x=3525',
		'title': '',
		'imageId': '68745528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745520&x=3525',
		'title': '',
		'imageId': '68745520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745532&x=3525',
		'title': '',
		'imageId': '68745532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745519&x=3525',
		'title': '',
		'imageId': '68745519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745535&x=3525',
		'title': '',
		'imageId': '68745535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745514&x=3525',
		'title': '',
		'imageId': '68745514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745513&x=3525',
		'title': '',
		'imageId': '68745513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745515&x=3525',
		'title': '',
		'imageId': '68745515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745534&x=3525',
		'title': '',
		'imageId': '68745534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745518&x=3525',
		'title': '',
		'imageId': '68745518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745526&x=3525',
		'title': '',
		'imageId': '68745526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745536&x=3525',
		'title': '',
		'imageId': '68745536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745527&x=3525',
		'title': '',
		'imageId': '68745527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745524&x=3525',
		'title': '',
		'imageId': '68745524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745525&x=3525',
		'title': '',
		'imageId': '68745525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745529&x=3525',
		'title': '',
		'imageId': '68745529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745530&x=3525',
		'title': '',
		'imageId': '68745530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745521&x=3525',
		'title': '',
		'imageId': '68745521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745516&x=3525',
		'title': '',
		'imageId': '68745516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745517&x=3525',
		'title': '',
		'imageId': '68745517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956741&docid=68745512&x=3525',
		'title': '',
		'imageId': '68745512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956741';

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