var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524734&x=1443',
		'title': '',
		'imageId': '68524734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524732&x=1443',
		'title': '',
		'imageId': '68524732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524736&x=1443',
		'title': '',
		'imageId': '68524736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524724&x=1443',
		'title': '',
		'imageId': '68524724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524730&x=1443',
		'title': '',
		'imageId': '68524730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524727&x=1443',
		'title': '',
		'imageId': '68524727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524729&x=1443',
		'title': '',
		'imageId': '68524729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524745&x=1443',
		'title': '',
		'imageId': '68524745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524737&x=1443',
		'title': '',
		'imageId': '68524737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524738&x=1443',
		'title': '',
		'imageId': '68524738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524731&x=1443',
		'title': '',
		'imageId': '68524731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524743&x=1443',
		'title': '',
		'imageId': '68524743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524742&x=1443',
		'title': '',
		'imageId': '68524742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524740&x=1443',
		'title': '',
		'imageId': '68524740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524735&x=1443',
		'title': '',
		'imageId': '68524735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524744&x=1443',
		'title': '',
		'imageId': '68524744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524728&x=1443',
		'title': '',
		'imageId': '68524728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524741&x=1443',
		'title': '',
		'imageId': '68524741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524733&x=1443',
		'title': '',
		'imageId': '68524733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524746&x=1443',
		'title': '',
		'imageId': '68524746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524739&x=1443',
		'title': '',
		'imageId': '68524739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524725&x=1443',
		'title': '',
		'imageId': '68524725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=68524726&x=1443',
		'title': '',
		'imageId': '68524726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947342&docid=69339598&x=1443',
		'title': '',
		'imageId': '69339598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947342';

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