var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075220&x=349',
		'title': '',
		'imageId': '69075220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075227&x=349',
		'title': '',
		'imageId': '69075227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075224&x=349',
		'title': '',
		'imageId': '69075224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075209&x=349',
		'title': '',
		'imageId': '69075209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075216&x=349',
		'title': '',
		'imageId': '69075216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075212&x=349',
		'title': '',
		'imageId': '69075212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075217&x=349',
		'title': '',
		'imageId': '69075217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075219&x=349',
		'title': '',
		'imageId': '69075219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075207&x=349',
		'title': '',
		'imageId': '69075207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075221&x=349',
		'title': '',
		'imageId': '69075221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075208&x=349',
		'title': '',
		'imageId': '69075208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075211&x=349',
		'title': '',
		'imageId': '69075211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075222&x=349',
		'title': '',
		'imageId': '69075222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075210&x=349',
		'title': '',
		'imageId': '69075210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075214&x=349',
		'title': '',
		'imageId': '69075214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075213&x=349',
		'title': '',
		'imageId': '69075213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075215&x=349',
		'title': '',
		'imageId': '69075215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075223&x=349',
		'title': '',
		'imageId': '69075223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075206&x=349',
		'title': '',
		'imageId': '69075206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075218&x=349',
		'title': '',
		'imageId': '69075218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=69075225&x=349',
		'title': '',
		'imageId': '69075225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=59270515&x=349',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965472&docid=59270516&x=349',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965472';

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