var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208801&x=1052',
		'title': '',
		'imageId': '68208801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208795&x=1052',
		'title': '',
		'imageId': '68208795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208799&x=1052',
		'title': '',
		'imageId': '68208799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208804&x=1052',
		'title': '',
		'imageId': '68208804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208796&x=1052',
		'title': '',
		'imageId': '68208796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208797&x=1052',
		'title': '',
		'imageId': '68208797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208800&x=1052',
		'title': '',
		'imageId': '68208800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208798&x=1052',
		'title': '',
		'imageId': '68208798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208803&x=1052',
		'title': '',
		'imageId': '68208803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208809&x=1052',
		'title': '',
		'imageId': '68208809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208805&x=1052',
		'title': '',
		'imageId': '68208805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208802&x=1052',
		'title': '',
		'imageId': '68208802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208812&x=1052',
		'title': '',
		'imageId': '68208812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208808&x=1052',
		'title': '',
		'imageId': '68208808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208806&x=1052',
		'title': '',
		'imageId': '68208806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208807&x=1052',
		'title': '',
		'imageId': '68208807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208811&x=1052',
		'title': '',
		'imageId': '68208811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208814&x=1052',
		'title': '',
		'imageId': '68208814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208813&x=1052',
		'title': '',
		'imageId': '68208813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208815&x=1052',
		'title': '',
		'imageId': '68208815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208810&x=1052',
		'title': '',
		'imageId': '68208810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208817&x=1052',
		'title': '',
		'imageId': '68208817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933214&docid=68208816&x=1052',
		'title': '',
		'imageId': '68208816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933214';

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